Olsztynek olsz'tynek (Hohenstein in Ostpreußen) is a town in northern Poland, in Olsztyn County, in the Warmian-Masurian Voivodeship. It is the administrative seat of Gmina Olsztynek. It is part of the historic region of Masuria. Olsztynek is located about south of Olsztyn in the western part of the Masurian Lake District, where it borders on the Prussian Uplands (Prusy Górne), part of the Baltic Uplands. Olsztynek station is a stop on the railway line from Olsztyn to Działdowo. The expressway S7 running from Gdańsk via Olsztynek to Warsaw and Kraków, parts of which are still under construction, is part of the European route E77. A direct link to Olsztyn is provided by the expressway S51. The intersection of the S7 and S51 highways is located just outside the town limits of Olsztynek, and the National road 58 also runs through the town. Several decades after the subjugation of the Old Prussians, Hohenstein Castle was erected from 1351 to colonize the Sasna lands at the behest of Günter von Hohenstein, Komtur of the Teutonic Knights at Osterode commandry. A parish church was mentioned for 1348. Grand Master Winrich von Kniprode granted the surrounding settlement town privileges according to Kulm law in 1359. Olsztynek became the seat of the local administration within the State of the Teutonic Order. During the Polish–Lithuanian–Teutonic War, the 1410 Battle of Grunwald took place in the vicinity of the town, whereby the Poles and Lithuanians defeated the Teutonic Knights. In the succeeding fights, Olsztynek was seized and burnt down to the grounds, in order not to let it pass into Polish hands. Quickly rebuilt afterwards, the citizens however had to face high taxes imposed by the Knights who had to refinance their contributions paid according to the 1411 Peace of Thorn. In turn the town became a member of the Prussian Confederation in 1444, opposing the authority of the Order's State.