 The province was overrun by Imperial Russian troops during the Seven Years' War.In the 1772 First Partition of Poland, the Prussian king Frederick the Great annexed neighboring Royal Prussia, i.e., the Polish voivodeships of Pomerania (Gdańsk Pomerania or Pomerelia), Malbork, Chełmno and the Prince-Bishopric of Warmia, thereby connecting his Prussian and Farther Pomeranian lands and cutting the rest of Poland from the Baltic coast.The territory of Warmia was incorporated into the lands of former Ducal Prussia, which, by administrative deed of 31 January 1773 were named "East Prussia".