Potsdam Agreement
After the German defeat in 1945, Stębark with Masuria fell to the Republic of Poland according to the Potsdam Agreement and the remaining German population was expelled.