As you enter the Western gate of Icherisheher, the Palace of the Shirvanshahs will attract you with the magnificent minaret and domes. The Palace of the Shirvanshahs, the residence of the rulers of Shirvan, plays a dominant role in the ancient city.
The state of Shirvanshahs existed from the sixth to the sixteenth century as a result of the intelligent and correct policy of the rulers was able to live for a thousand year and played an indispensable role in the cultural, socio-economic and political development of Shirvan. After the collapse resulted from a strong earthquake in the capital located till 1191 in the city of Shamakhi, the residence of the Shirvan state was moved to Baku and the construction of the Palace building was started.