as part of the administrative reforms in bavaria, in the community edict (the 'gemeindeedikt von 1818') of 1818, the present municipality, which was closely linked to burglengenfeld as a seat of justice and later as county seat until the local reform.