Vipava Castle was built by the Patriarchate of Aquileia and first recorded in 1275 as Castrum Wipaci superioris. It was the residence of the knights of Vipava until the mid-14th century, when it became a ducal fief, granted to a long series of noble and knightly families, including the knights of Rihemberk, lords of Snežnik and Belopeš, Counts of Celje, barons Herberstein, Counts Thurn, the noble family of Edling, counts Thrillegkh, and finally the counts Lanthieri, who abandoned the decaying castle in the 17th century.
The ruins of the Romanesque structure trace the rectangular layout of its thick walls, enclosing two residential buildings guarded by an impressive defensive tower.
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.