Mainbernheim is a municipality in Bavaria, Germany,4 kilometers to the south of Kitzingen in the direction of Nürnberg. It was first recorded in the chronicles of 889, during the reign of King Arnulf, the church being recognized by the influential bishopric of nearby Würzburg. The town was the site of a tariff house of the dukes of Ansbach and in thrall until 1397 to the duchy in the south, during the reign of King Wenceslaus. Mainbernheim was granted full rights as a city, although taxation privileges for Ansbach were extended until 1795.
Today, Mainbernheim has a population of approximately 2200, the town having grown significantly due to new developments outside the city walls. The gummi-bear factory, Bären Schmidt, is the major industry there. Some extant points of interest include the 400-year-old farmhouses along Herrnstraße, which transverses the city from gate to gate and hosts several historic hotels and restaurants. Also along the main street are the Rathaus and the adjacent Lutheran parish church, built on the foundations of an earlier cathedral after the Protestant Reformation.