The Targowica Confederation (Polish: konfederacja targowicka, IPA: [kɔnfɛdɛˈrat͡sja tarɡɔˈvit͡ska], Lithuanian: Targovicos konfederacija) was a confederation established by Polish and Lithuanian magnates on 27 April 1792, in Saint Petersburg, with the backing of the Russian Empress Catherine II. The confederation opposed the Polish Constitution of May 3, 1791, which had been adopted by the Great Sejm, especially the provisions limiting the privileges of the nobility. The text of the founding act of the confederation was written by the Russian general Vasili Stepanovich Popov, Chief of Staff of Prince Grigori Alexandrovich Potemkin. Its purpose was proclaimed in the small town of Targowica (now in Kirovohrad Oblast, Ukraine) on May 14, 1792. Four days later two Russian armies invaded the Polish-Lithuanian Commonwealth without a formal declaration of war.
The forces of the Targowica Confederation defeated the forces loyal to the Polish-Lithuanian Commonwealth, the Sejm and King Stanisław August Poniatowski in the Polish–Russian War of 1792. As a result, the King, Poniatowski, formally joined the Confederation. Their victory precipitated the Second Partition of Poland and set the stage for the Third Partition and the final dissolution of the Commonwealth in 1795. This outcome came as a surprise to most of the Confederates, who had wished only to restore the status quo ante and had expected that the overthrow of the May 3rd Constitution would achieve that end.