The town was methodical founded by the Teutonic knights commander of Balga, Heinrich von Muro, on February 5, 1335 at the crossing of the streets Balga - Heilsberg and Bartenstein - Mehlsack in the heart of the Old Prussian region of Natangia.