Please answer a question about the following article about Szlachta:

The sovereignty of szlachta was ended in 1795 by Partitions of Poland, and until 1918 their legal status was dependent on policies of the Russian Empire, the Kingdom of Prussia or the Habsburg Monarchy.

When did the sovereignty of szlachta end?
1795