The Castle of Ayora was built probably in the mid-13th century, after the Reconquista, on the site of an ancient Arabian fort. The architectural ensemble was composed of the four-storey residence-palace, two fortified towns, and one large keep, as well as other rooms for the soldiers and serfdom, aljibes (European Middle Ages castle cisterns that collected the rain water to provide drinking water to the castles) and gardens. This was surrounded by around 1,000 m of defensive walls and defensive towers.
The castle was reduced to ruins by the troops of Philip V of Spain, in the War of the Spanish Succession, but its profile and its vast size are still noticeable. The keep, of square plan, the Puerta Falsa (Fake Door), commissioned by the Marchioness of Cenete in the 16th century on which it was her coat of arms, as well as paintings, defensive walls, buckets, moats, and cisterns, stand out in the remains of the castle.
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.