Berat Castle dates mainly from the 13th century and contains many Byzantine churches in the area and Ottoman mosques. It is built on a rocky hill on the left bank of the river Osum and is accessible only from the south.
After being burned down by the Romans in 200 B.C., the walls were strengthened in the 5th century under Roman Emperor Theodosius II to protect from Barbarian incursions into the Balkans. They were subsequently rebuilt during the 6th century under the Emperor Justinian I and again in the 13th century under the Despot of Epirus, Michael I Komnenos Doukas, cousin of the Byzantine Emperor. This last phase can be seen as a Monogram formed by red bricks set in a wall of the castle. The castle was under the rule of John Komnenos Asen in the mid-14th century The main entrance, on the north side, is defended by a fortified courtyard and there are three smaller entrances.
The fortress of Berat in its present state, even though considerably damaged, remains a magnificent sight. The surface that it encompasses made it possible to house a considerable portion of the cities inhabitants. The buildings inside the fortress were built during the 13th century and because of their characteristic architecture are preserved as cultural monuments. The population of the fortress was Christian, and it had about 20 churches (most built during the 13th century) and only one mosque, for the use of the Turkish garrison (of which there survives only a few ruins and the base of the minaret). The churches of the fortress were damaged through years and only some have remained.
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.