Born in Saint Petersburg, Prince Repnin served in the Imperial Army under his father, Prince Vasily Anikitovich Repnin, during the Rhenish campaign of 1748, and subsequently resided for some time abroad, where he acquired "a thoroughly sound German education." He also participated, in a subordinate capacity, in the Seven Years' War. In 1763, Emperor Peter III sent him to Prussia as ambassador. The same year, Catherine transferred him to Poland as minister plenipotentiary; in Warsaw he was rumored to have had an affair with Izabela Fleming. Due to the level of Russian control of the Polish government, Repnin was the effective ruler of the country, with special instructions to form a pro-Russian faction from among the various Protestants, who were to receive equal rights with the Catholics. Repnin believed that the Protestants were not significant enough to benefit Russia; at the same time, the Protestant community itself petitioned Empress Catherine, requesting not to be involved. In order to further Russian interests, he encouraged the creation of two Protestant confederations and later, a Catholic one. According to the Encyclopædia Britannica Eleventh Edition, Repnin's correspondence reveals that he disliked the type of politics he was required to engage in. Nevertheless, he obeyed his instructions, and used various means to force the 1767–68 Sejm to concede all points in dispute. Before the Sejm, he ordered the capture and exile to Kaluga of some vocal opponents of his policies — Józef Andrzej Załuski and Wacław Rzewuski. The immediate result was the formation of the Bar Confederation, which practically demolished the ambassador's strategy.
Military career
Repnin resigned his post to lead troops against the Ottoman Empire in the Russo-Turkish War. At the head of an independent command in Moldavia and Wallachia, he prevented a large Ottoman army from crossing the Pruth, distinguished himself at the actions of Larga and Kagul, and captured Izmail and Kilia. In 1771 he received the supreme command in Wallachia and occupied Bucharest. A quarrel with the commander-in-chief, Rumyantsev, then induced him to send in his resignation, but in 1774 he participated in the capture of Silistria and in the negotiations which led to the peace of Kuchuk-Kainarji. In 1775-76 Repnin and his factotum, Yakov Bulgakov, represented Russian interests at the Porte. On the outbreak of the War of the Bavarian Succession he led 30,000 men to Breslau, and at the subsequent congress of Teschen, where he was Russian plenipotentiary, compelled Austria to make peace with Prussia. During the second Turkish war Repnin was, after Alexander Suvorov, the most successful of the Russian commanders. He defeated the Ottomans at Salcia, captured the whole camp of the seraskier, Hassan Pasha, shut him up in Izmail, and was preparing to reduce the place when he was forbidden to do so by Grigori Alexandrovich Potemkin. On the retirement of Potemkin in 1791, Repnin succeeded him as commander-in-chief, and immediately routed the grand vizier at Măcin, a victory which compelled the Ottomans to accept the truce of Galaţi.