The Inner Walled City is one of the few surviving medieval towns in Azerbaijan. It retains the characteristic features of a medieval town, such as the labyrinth of narrow streets, congested buildings and tiny courtyards. The walls of the old town, which still survive on the western and northern sides, were built by Menutsshochr Shah in the 12th century and were repaired in the 19th century
Source: Aga Khan Trust for Culture