Burg Stolpen is a castle built on top of the Schloßberg. The first defensive works were built about 1100 and it was first documented in 1222. Owned by the Bishop of Meißen for nearly 350 years, it passed to the Electorate of Saxony and was expanded in Renaissance style. In 1675 it was further expanded as a fortress. Anna Constantia von Brockdorff, Countess of Cosel, was imprisoned in the castle from 1716 until her death in 1765. The castle fell into disrepair towards the end of the 18th century. It became a museum in 1875, and has been partly restored since then.