Madrasah of the 16th century, located on a hill next to Chorsu Square. The building was built in the 16th century. Dervish Khan, vizier of the Tashkent khans, who bore the nickname Kukeldash (“khan’s foster brother”). On the territory of the madrasah there are living quarters for madrasah students, as well as a mosque.
In the 18th century The madrasah was turned into a caravanserai. In the 19th century, the Kokand khans used the madrasah as a defensive fortress - cannon fire was fired from the building’s portal at the rebels fighting for independence from the khan’s power. The madrasah also served as a place of execution. Wives caught in infidelity were thrown from the high parapet of the madrasah. The building was heavily damaged by earthquakes at the end of the 19th century. and was completely restored by Soviet restorers in the 30-60s. XX century
During Soviet times, the building was used as a museum of atheistic propaganda, then it housed an exhibition of folk musical instruments, and only in the 90s. In the 20th century, it was returned to its original status as a madrasah.