In 1871 Khudoyar Khan built a grand palace. The majestic complex was the palace of the seventh khan and according to the khan's idea, it was to surpass the previous palaces in size and sumptuous decoration to commemorate the power of the ruler of Kokand.