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.
Poland did not regain the territory it lost to Prussia.