The palace was the former residence of the rulers of the Shirvanshahs. It is a complex where, in addition to the palace itself, can also be found a courtyard of the Diwankhana, the courthouse, the Shirvanshahs’ burial vault, the palace mosque of 1441 with its minaret, the bathhouse and the mausoleum of the court scholar, Sayid Yahya Bakuvi.
The palace complex was built in the period from the XIII to the XVI century. On the palace itself, no inscriptions have survived. Therefore, the time of its construction is determined by the dates on the inscriptions on various architectural monuments, which relate to the palace complex. In 1964, the palace complex was declared a museum-preserve. In 2000, a unique architectural and cultural ensemble, along with the fortified walls enclosed by the historic part of the city and the Maiden Tower, was included in the UNESCO World Heritage List. The Shirvanshahs Palace is considered one of the pearls of the architecture of Azerbaijan.