Sheikh Shahab-ed-Din Mahmood Ahari was a famous seventh and eighth century mystic scholar and this mausoleum was built on his grave long after his death. In existing sources, the construction of this mausoleum is attributed to the Safavid monarch Shah Abbas I, and the construction of the raw brick enclosure around it to Amir-Taymur Gurkan. This building was restored near the end of the twelfth century by Mostafa Qoil Khan, the governor of the region. The author of Asar-e-Bastani-e Azerbaijan introduced Sheikh Shahab-ed Din as a descendant of Sheikh Shahab-ed-Din Sohrevardi, whose ancestry traces bac to Abu Bakr, the caliohet
He adds that Sheikh Shahb-ed-Din was the spiritual master of Seyed Jamal-ed-Din Tabrizi. The present building of the mausoleum is attributed to the Safavid period, and some experts believes that parts of it such as the stone enclosure of the tomb and the eastern entrance of the building were built in pre-Safavid times. The main Eivan is flanked by a pair of massive minarets not taller than the Eivan itself. It is possible that the construction of the minarets was left unfinished, or that their top ends were demolished at a later date
In 1316 AS, parts of the mausoleum were restored and the lands around it was transferred into a public park, used today as a recreation area