From the history of the Shirvanshahs' Palace
The Shirvanshahs' Palace ensemble was the residence of the shahs of Shirvan and played a dominating role at historical core of Baku - "Ichari Shahar". The Shirvanshahs' state was the biggest feudal state in the northern-eastern part of Azerbaijan in 1st half of VI – XVI centuries. It had the same borders with Samur river, Darband in the North, Caspian Sea in the East, Kur river in the South and with Shaki, Ganja in the West.
Shahs of this state such as Akhsitan, Fariburz, Sheykh Ibrahim, Khalilullah, etc. were clever, powerful and strong.
The first capital of the Shirvan state was Shamakhi. In XIII-XV centuries it's already took an important position in international silk trade. Well-known as "Talaman silk" Shirvan's silk exported to Minor Asia, Syria, Italy, China, England, and many other countries.
Shamakhi is located in seismic zone. After devastating earthquake in 1192, Shirvanshah Akhsitan I transferred the Shirvanshahs' residence from Shamakhy to Baku and since that time Baku became the second capital of Shirvanshahs.
According to the palace poet Badr Shirvani, who lived in the period of two shahs - Ibrahim and his son Khalilullah I – the flag of the Shirvanshahs was gold-colored.
Two lions and the head of the bull between them was the symbol of the Shirvanshahs. Lions symbolized the power and strength of the Shirvanshahs, the head of the bull symbolized abundance.
The total area of the complex is 0.7 ha. This complex hasn't any analogue in all the Middle East. The complex consists of the main building of the palace with 52 rooms, "Divankhana", which fascinated Medieval foreign scientists and travelers, the tomb of Seyid Yakhya Bakuvi, whose scientific works in Arabic language kept at the world libraries and museums, "East" portal, the palace mosque, the burial-vaults of the shah's family, an ancient palace baths, underground shah's reservoir with 34 footsteps.