The most important building in Zeitz is the early baroque Moritzburg Castle , which was rebuilt in the years 1657 to 1678 on the ruins of the old bishop's castle and was the residence of a side line of the Ernestine line of the princely house of Wettin.