The ancient castle Castra Martis was built on a steep southern slope above the gorge of the Voynishka River at the end of the 3rd-beginning of the 4th century as part of the Danube Limes. It occupied a key position in guarding the important Roman road from Bononia to Singidunum (Belgrade).
In 408, the Huns under Uldin took control of the site during an attack on the Eastern Roman Empire, apparently by treachery. The fortification was reinforced under Justinian I, but was completely abandoned after the Gothic invasions in 586.
The fortress consisted of two parts: a small square fortification (quadriburgium) measuring 40x40 m, with powerful circular towers with a diameter of 12.5 m in the corners and a castle with the shape of an irregular quadrangle. It covered an area of 1.55 ha. The castle was accessible only from the south, where the gate was situated. Probably at the end of the 4th century, the protection of the gate was reinforced by the construction of another narrower wall.
Foundations of a Roman bath were discovered northwest.The quadriburgium is well-preserved and revealed in its entirety. Its fortress walls, built of stone and three-row brick girders, are 2.2 m thick and 2 m tall, and the southeast tower rises to 16.3 m.
References:Ogrodzieniec Castle is a ruined medieval castle originally built in the 14th–15th century by the W³odkowie Sulimczycy family. Established in the early 12th century, during the reign of Boles³aw III Wrymouth, the first stronghold was razed by the Tatars in 1241. In the mid-14th century a new gothic castle was built here to accommodate the Sulimczycy family. Surrounded by three high rocks, the castle was well integrated into the area. The defensive walls were built to close the circuit formed by the rocks, and a narrow opening between two of the rocks served as an entrance.
In 1470 the castle and lands were bought by the wealthy Cracovian townsmen, Ibram and Piotr Salomon. Then, Ogrodzieniec became the property of Jan Feliks Rzeszowski, the rector of Przemy¶l and the canon of Cracow. The owners of the castle about that time were also Jan and Andrzej Rzeszowskis, and later Pilecki and Che³miñski families. In 1523 the castle was bought by Jan Boner.