During the Polish-Russian war that broke out over the 3 May Constitution, Kołłątaj, along with other royal advisers, persuaded King Stanisław August, himself a co-author of the Constitution, to seek a compromise with their opponents and to join the Targowica Confederation that had been formed to bring down the Constitution. However, in 1792, when the Confederates' won, Kołłątaj emigrated to Leipzig and Dresden, where in 1793 he wrote, with Ignacy Potocki, an essay entitled, "On the Adoption and Fall of the Polish May 3 Constitution".