During the Partitions of Poland from 1772 to 1795, its members began to lose these legal privileges and social status. When, during the partitions of Poland, did the szlachta lose legal and social status.