The oldest building in Stockholm is the Riddarholmskyrkan from the late 13th century. After a fire in 1697 when the original medieval castle was destroyed, Stockholm Palace was erected in a baroque style. Storkyrkan Cathedral, the episcopal seat of the Bishop of Stockholm, stands next to the castle. It was founded in the 13th century but is clad in a baroque exterior dating to the 18th century.