Stein Castle was built on a rocky promontory above Baden gorge some time before 1000. In the late 11th century the castle came to the¬†Lenzburg¬†family. By the early 12th Century, the cadet line that lived in the castle called themselves the Counts of Baden. In 1172, the castle was inherited by the¬†Kyburg family. When that family died out in 1263, the castle was inherited by the¬†Habsburgs¬†in 1264.
The castle was occupied by a¬†bailiff and was the seat of the Austrian administration for¬†Vorder√∂sterreich¬†(Further Austria) and housed the archive. The castle was besieged and destroyed in 1415 by the¬†Swiss Confederation. It was rebuilt in 1658-70 but was demolished in 1712. It remains in ruins since that time.References:
The Palace of the Kings of Navarre of Olite was one of the seats of the Court of the Kingdom of Navarre, since the reign of Charles III 'the Noble' until its conquest by Castile (1512). The fortification is both castle and palace, although it was built more like a courtier building to fulfill a military function.
On an ancient Roman fortification was built during the reign of Sancho VII of Navarre (13th century) and extended by his successors Theobald I and Theobald II, which the latter was is installed in the palace in 1269 and there he signed the consent letter for the wedding of Blanche of Artois with his brother Henry I of Navarre, who in turn, Henry I since 1271 used the palace as a temporary residence. This ancient area is known as the Old Palace.
Then the palace was housing the Navarrese court from the 14th until 16th centuries, Since the annexation (integration) of the kingdom of Navarre for the¬†Crown of Castile¬†in 1512 began the decline of the castle and therefore its practically neglect and deterioration. At that time it was an official residence for the¬†Viceroys of Navarre.
In 1813 Navarrese guerrilla fighter¬†Espoz y Mina¬†during the¬†Napoleonic French Invasion¬†burned the palace with the aim to French could not make forts in it, which almost brought in ruin. It is since 1937 when architects Jos√© and Javier Yarnoz Larrosa began the rehabilitation (except the non-damaged church) for the castle palace, giving it back its original appearance and see today. The restoration work was completed in 1967 and was paid by the¬†Foral Government of Navarre.