The first record of the castle in Halič dates from the year 1450. In the years 1450-51 it belonged to the Jiskras, later to János Hunyady before becoming inhabited by King Matthias Corvinus in 1462. In the first half of the 16th century it was in property of Istvan Losonczy from Lučenec. The castle was reconstructed, without royal permission, by him and was damaged in 1544 during a siege. After the death of Štefan Lučenský, his daughter Anne inherited the county and married Zsigmund Forgách. The Forgáčs were one of the oldest Hungarian aristocratic family being descendants of the Great Moravian family Poznam, who had preserved their positions in Slovakia after its incorporation into the Kingdom of Hungary. The Halič castle was owned by the Forgáčs until 1945.
Zsigmond Forgách rebuilt the castle on land which had been part of the estate of the owner of the county since 1598, choosing a site that was both strategic and offering natural fortifications. In 1612 it was repaired carefully and the foundations of an irregular hexagon was laid. On top of these; a storied building with six corner bastions was constructed, secured by a ditch and mounds. Wings of this hexagon led into a courtyard with plain walls, later covered with many murals depicting figures of the Roman emperors and the Hungarian kings between its windows and entrances.
At the end of the 17th century Imre Thököly attempted to capture the castle but did not succeed. In 1678, when owned by Adam Forgáč, the castle was besieged again, on this occasion by Turks. The defenders repulsed this attack and also a second attempt in 1703. Six years later Ferenc II Rákóczi overran the castle and in another siege; the leader of the emperor's troops, the General Sigbert Heister, managed to raze parts of the building including the roof and some of the interior equipment.
The Forgáčs had the castle reconstructed in 1762 due to the need of a representative seat in this region. The Austrian Andre Meyerhoffer, was in charge of the works, notable as he was the builder of some of the palaces in Bratislava.
Today Halič castle stays abandoned and waiting the restoration.References:
The city walls of Avila were built in the 11th century to protect the citizens from the Moors. They have been well maintained throughout the centuries and are now a major tourist attraction as well as a UNESCO World Heritage Site. Visitors can walk around about half of the length of the walls.
The layout of the city is an even quadrilateral with a perimeter of 2,516 m. Its walls, which consist in part of stones already used in earlier constructions, have an average thickness of 3 m. Access to the city is afforded by nine gates of different periods; twin 20 m high towers, linked by a semi-circular arch, flank the oldest ones, Puerta de San Vicente and Puerta del Alcázar.