According to the sources, it was built in 1719–1726 with the funds and decree of the Uzbek ruler Shergazikhan (Shir Ghazi Khan).
Khan's body was buried in a small room built in the west of the madrasah.
The facades are made of black stone, the courtyard walls are covered with special construction material.
[2] After conquering Mashhad in 1715, Shergazikhan brought 5,000 soldiers from Iran for the construction of a madrasah.
Due to the subsidence of the soil on the ground where the mausoleum is located, the grave fell two meters down.
[4] As mentioned in the dedication text of this madrasa, historians and poets called this building "Maskan-i Fazilon" ("Abode of Scholars").