Tolmin Castle was first mentioned in 1188, and its chapel of Saint Martin in 1194. The east and north towers appear to have formed the original core of the fortress; another two hexagonal towers were added later. The north tower had an extensive basement for the storage of provisions, which along with two wells and rainwater cisterns allowed for the withstanding of sieges.
The castle was held in fief by a long series of masters: the Patriarchate of Aquileia, the Counts of Gorizia, the city of Cividale del Friuli, the Venetian Republic, and finally the Habsburgs. It appears to have functioned as a dedicated fortress rather than a residence, and had no permanent civilian population in peacetime, only a large garrison; it also housed a prison. The structure was severely damaged in the earthquakes of 1348 and 1511, but was repaired each time. It was finally abandoned in 1651 by its last owners, the Coronnini family, for a new manor in Tolmin itself, though it remained sufficiently intact by 1713 to play a role in the great peasant revolt of that year. The castle is currently in ruins, though parts of it have been restored.
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.