is perceived necessity to remain in a relationship with his Russian sponsor. This ultimately led to the formation of the 1768 Bar Confederation; a szlachta rebellion directed against Russia and the Polish king which fought to preserve Poland's independence and the szlachta's traditional privileges. Unfortunately, attempts at reform provoked the union's neighbours, and in 1772 the First Partition of the Commonwealth by Russia, Austria and Prussia took place; an act which the "Partition Sejm", under considerable duress, eventually "ratified" fait accompli. Disregarding this loss, in 1773 the king established the Commission of National Education, the first government education authority in Europe.
The long-lasting Great Sejm convened by Stanisław August in 1788 successfully adopted the May 3 Constitution, the first set of modern supreme national laws in Europe. However, this document, accused by detractors of harbouring revolutionary sympathies, soon generated strong opposition from the Commonwealth's nobles and conservatives as well as from Catherine II, who, determined to prevent the rebirth of a strong Commonwealth set about planning the final dismemberment of the Polish-Lithuanian state. Russia was greatly aided in achieving its goal when the Targowica Confederation, an organisation of Polish nobles, appealed to the Empress for help, and in May 1792 Russian forces crossed the Commonwealth's frontier, thus beginning the Polish-Russian War. The defensive war fought by the Poles and Lithuanians ended prematurely when the King, convinced of the futility of resistance, capitulated and joined the Targowica Confederation. The Confederation then took over the government; Russia and Prussia, fearing the mere existence of a Polish state, arranged for, and subsequently in 1793, executed the Second Partition of the Commonwealth, which left the country deprived of so much territory that it was practically incapable of independent existence. Eventually, in 1795,