Theobald I ordered the construction of the Tiebas castle around 1250 and since then it has suffered throughout history.
It survived numerous attacks quite well until an attack by Castile in 1378 ended with it on fire. With it, burned a good part of the Navarre Archive, and this has deprived us of a lot of information about our history.
Luckily, in 1512, it managed not be demolished under Cardinal Cisneros. Then it witnessed a bloody battle in 1810 between four battalions under Espoz y Mina against more than 3,000 French soldiers.
In the end, after being abandoned, many of the stones were taken from the castle, and work is being done now to consolidate the structure.
References:The Walls of Constantinople are a series of defensive stone walls that have surrounded and protected the city of Constantinople (today Istanbul) since its founding as the new capital of the Roman Empire by Constantine the Great. With numerous additions and modifications during their history, they were the last great fortification system of antiquity, and one of the most complex and elaborate systems ever built. They were also the largest and strongest fortification in both the ancient and medieval world.
Initially built by Constantine the Great, the walls surrounded the new city on all sides, protecting it against attack from both sea and land. As the city grew, the famous double line of the Theodosian Walls was built in the 5th century. Although the other sections of the walls were less elaborate, they were, when well-manned, almost impregnable for any medieval besieger.