In 1664, the city came under the control of the Electorate of Mainz. Erfurt became part of the Kingdom of Prussia in 1802.
Panorama of Erfurt (2016). Source: Vitold Muratov via Wikipedia Commons.