Shah Nematollah-e-Vali was the head of the Ellahiyeh (730-834 AH.), and was one of the reputed Gnostics of the first half of the 9th century AH. His tomb and Khaneqah (or a kind of monastery) is located in the town of Mahan (Kerman). The Hezar Shah structure is the axis of this aggregate, and its primary construction dates back to the year 840 AH. Ahmad Shah Bahmani (of the Bahmaniyeh Dynasty) was responsible for the expenditure. Sections were added to this in later periods.
The Vakil-ol-Molk court-yard is opposite this mausoleum, and was constructed in the Qajar era. The structure displays a Mongol type of architecture (of the Eilkhani and pre-Safavid periods) and its porch pertains to the Esfahani mode of architecture, and is one of the wonderful pieces of art works in desert area of Iran.