The Palace of the Shirvanshahs (Azerbaijani: Şirvanşahlar Sarayı, Persian: کاخ شروانشاهان) is a 15th-century palace built by the Shirvanshahs and described by UNESCO as "one of the pearls of Azerbaijan's architecture". It is located in the Inner City of Baku, Azerbaijan and, together with the Maiden Tower, forms an ensemble of historic monuments inscribed under the UNESCO World Heritage List of Historical Monuments. The complex contains the main building of the palace, Divanhane, the burial-vaults, the shah's mosque with a minaret, Seyid Yahya Bakuvi's mausoleum (the so-called "mausoleum of the dervish"), south of the palace, a portal in the east, Murad's gate, a reservoir and the remnants of a bath house. Earlier, there was an ancient mosque, next to the mausoleum. There is still ruins of the bath to the west of the tomb.
In the past, the palace was surrounded by a wall with towers and, thus, served as the inner stronghold of the Baku fortress. Despite the fact that at the present time no traces of this wall have survived on the surface, as late as the 1920s, the remains of apparently the foundations of the tower and the part of the wall connected with it could be distinguished on the north-eastern side of the palace.