After the Partitions of Poland by the Kingdom of Prussia, Austria, and the Russian Empire in the late 18th century, Prussia gained much of western Poland. The Prussians, and later the Germans, engaged in a policy of Germanization in Polish territories. Russia and Sweden eventually conquered the lands taken by the Teutonic Knights in Estonia and Livonia.