Before the Moritzburg castle was built in nearby Zeitz, the city castle in Naumburg served as the residence of this line. This period came to an end with the death of the last Protestant representative of the Saxe-Zeitz line in the year 1718. The Naumburg district reverted to the Dukes of Saxony in Dresden and became fully integrated into Albertine Saxony. However, it remained until 1815 the seat of its own administrative authority (Consistory of the district of Naumburg-Zeitz). After the Congress of Vienna in 1815, Naumburg was ceded to the Kingdom of Prussia, becoming part of the Province of Saxony. It gained control over the cathedral and its close in 1832.