 The city was a local seat of government and belonged to the Munich line of the House of Wittelsbach.In 1505, Schmidmühlen was incorporated along with other properties of Bavarian Nordgau in the newly created Duchy of Pfalz-Neuburg.The border of the Upper Palatinate was three kilometers to the north, which always led to clashes, especially with the powerful city of Amberg.