The Targowica Confederation is a confederation established by Polish and Lithuanian magnates on April 27, 1792, in Saint Petersburg, with the backing of the Russian Empress Catherine II.