Royal Prussia
Throughout this time, Pomerelia was within Royal Prussia, a part of the Polish–Lithuanian Commonwealth with considerable autonomy. In the late 18th century, it became a part of Prussia.