Thun Castle in Switzerland was built in the 12th century by the Dukes of Zähringen on a hill that previously hosted a small fortress with a chapel. The key structure of the castle - the keep - dates back to this time. However, the keep was at least half the modern-day tower back then. Subsequently it got two more floors and during the Bernese period the iconic roof was added. It happened in the 15th century.