According to the style characteristics, the history of the monument is dated back to the early XIII century.
This is the grave of the Sheikh, the Imam, the greatest scientist, the believer, Tair Taj Al-Huda Mardakani Ibn Ali.
A small part, two lines of the inscription fixed on the left wall, on the left side of entering from the door, remains: "The greatest padishah, khagan... Farrukhzad ibn Fazilalmuwahhid Manuchihr..." [3] The author explains that this is ruler is Shirvanshah Farrukhzad I, the son of Shirvanshah Manuchihr III.
These mausoleums, which have other examples in the architecture of Azerbaijan, typically consist of a combination of two-domed and tower-shaped tombs.
The plan of the Pir Mardakan mausoleum repeats the very coincidental version of the tombs with domes.
[5] As mausoleums with dome were temple-type buildings, people used to come and pay visit to the buried and hold religious ceremonies in such places.
The internal tomb part of the mausoleum square shaped according to the structure of it and through squinches in the corners it turns into an octagon.