rectangle. The rest of the eastern facade and the entire southern facade are formed by two triangular lanterns and a broken line between them, enclosing four right angles. There were originally 52 rooms connected by three narrow spiral staircases in the palace building: 27 on the first and 25 on the second floor (currently 16 rooms on the second floor), and the layout of the second floor basically reproduced the plan of the first floor. The central part of the palace (octagonal hall of the second floor, the entrance to which is decorated with a portal) has thicker walls. Arranged in the western facade, the main entrance to the palace is decorated with a high portal. The ladder of the portal leads to a tall octagonal front hall, covered with a dome. It is assumed that this room served for receptions. The small octagonal lobby behind it connected the hall to the rest of the rooms. Slit-shaped holes in the faces served as a voice connection with the lower floor, where the office premises were located. The rooms and rooms of the second floor are more ceremonial. Among them, there are the southern and eastern facades with bay windows that reveal the bay view. There are also rooms for the Shah and his family on the second floor. The smooth surface of the large stone planes of the palace is shaded by alternating rows of masonry, differing in color, width and texture, as well as the "shebeke" aura – stone gratings in small light apertures. There were daily-life objects, coins from the 12th to 15th centuries, copper utensils, weapons and decorations of the 19th century, musical instruments of the 15th century found during the archaeological excavations both on the territory of the palace complex and in the territory of the historical center of Icheri-Sheher and Shirvan. There were also female costumes and embroidery of the 19th century, Shemakha carpets of the 19th century and carpet woven in the 17th century in Baku. There is a mock-up of the historic part of the city in the center of the hall. Divan-khana A small aperture, located on the north side of the palace garden, leads to the closed courtyard Divan-khana, which is framed on three sides by a pointed arcade. In the composition center Divan-khana there is an octagonal rotunda-pavilion. The hall of this rotunda is surrounded by an open arcade of