A church dedicated to "'Our Lady' (Kirche zu unser Liebfrauen)" was first built in the 11th century in a Romanesque style, outside the city walls and surrounded by a graveyard. The Frauenkirche was the seat of an archpriest in the Meissen Diocese until the Reformation, when it became a Protestant church. This first Frauenkirche was torn down in 1727 and replaced by a new, larger church with a greater capacity. The Frauenkirche was re-built as a Lutheran (Protestant) parish church by the citizenry. Even though Saxony's Prince-elector, Frederick August I, had converted to Catholicism to become King of Poland, he supported the construction which not only gave an impressive cupola to the Dresden townscape but also reassured the Saxonians that their ruler was not going to force the principle "cuius regio, eius religio" upon them.