Poland was transformed into a client state of the Russians, and then lost much of its western territory to the Prussians during the Silesian Wars that ended in 1763.
Prussia took a lot of Polish territory in the Silesian Wars.