Peter, on the other hand, advanced towards Courland, with a design to penetrate as far as Riga. His plan was to make himself master of Livonia, while Charles XII. was busied in reducing the Poles entirely under the obedience of the new king he had given them. The czar was still at Wilnaw in Lithuania, and his general Sheremeto was approaching towards Mittau, the capital of Courland; but there he was met by general Levenhaupt, already famous by several victories, and a pitched battle was fought between the two armies at a place called Gemavershoff, or Gemavers.
In all those actions where experience and discipline decide the day, the Swedes, though inferior in number, had the advantage. The Russians were totally defeated, (June 28.) and lost their artillery. Peter, notwithstanding the loss of three battles, viz. at Gemavers, at Jacobstadt, and at Narva, always retrieved his losses, and even converted them to his advantage.
After the battle of Gemavers, he marched his army into Courland; came before Mittau, made himself master of the town, and afterwards laid siege to the citadel, which he took by capitulation.
Sept. 14, 1705.] The Russian troops at that time had the character of distinguishing their successes by rapine and pillage; a custom of too great antiquity in all nations. But Peter, at the taking of Narva, had made such alterations in this custom, that the Russian soldiers appointed to guard the vaults where the grand dukes of Courland were buried, in the castle of Mittau, perceiving that the bodies had been taken out of their tombs, and stripped of their ornaments, refused to take possession of their post, till a Swedish colonel had been first sent for to inspect the condition of the place; who gave them a certificate that this outrage had been committed by the Swedes themselves.
A rumour which was spread throughout the whole empire, that the czar had been totally defeated at the battle of Gemavers, proved of greater prejudice to his affairs, than even the loss of that battle. The remainder of the ancient strelitzes in garrison at Astracan, emboldened by this false report, mutinied, and murdered the governor of the town. Peter was obliged to send marshal Sheremeto with a body of forces to quell the insurrection, and punish the mutineers.
Every thing seemed now to conspire against the czar; the success and valour of Charles XII.; the misfortunes of Augustus; the forced neutrality of Denmark; the insurrection of the ancient strelitzes; the murmurs of a people, sensible of the restraint, but not of the utility of the late reform; the discontent of the grandees, who found themselves subjected to military discipline; and, lastly, the exhausted state of the finances, were sufficient to have discouraged any prince except Peter: but he did not despond, even for an instant. He soon quelled the revolt, and having provided for the safety of Ingria, and secured the possession of the citadel of Mittau, in spite of the victorious Levenhaupt, who had not troops enough to oppose him; he found himself at liberty to march an army through Samojitia and Lithuania.
He now shared with Charles XII. the glory of giving laws to Poland. He advanced as far as Tikoczin: where he had an interview for the second time with king Augustus; when he endeavoured to comfort him under his misfortunes, promising to revenge his cause, and, at the same time, made him a present of some colours, which Menzikoff had taken from the troops of his rival. The two monarchs afterwards went together to Grodno, the capital of Lithuania, where they staid till the 15th of December. At their parting, Peter presented him both men and money, and then, according to his usual custom, went to pass some part of the winter at Moscow, (30 Dec.) to encourage the arts and sciences there, and to enforce his new laws there, after having made a very difficult and laborious campaign.