This magnificent building with one of the tallest entrance portals in Iran has traces of three distinct eras: Sassanid, Ilkhanid, Timurid. The portal is flanked by two 48-meter-high minarets and adorned with an inscription from the 15th century. The inscription of the main building dates back to the Timurid era, although some believe the original building was far older, and some believe the original mosque was built over a Sassanid fire temple. The current mosque with an area over 10,000 square meters includes an entrance portal, porticoes, courtyard, praying hall, iwan, dome chambers, and library. Following the tradition of 15th-century architecture, the mosque is made with a square plan, imitating Kaaba. The double cased dome of the mosque is beautifully adorned from the inside. Using stucco adds to the spirituality of the place and The exquisite mosaics on the dome and mihrab create a fascinating contrast with the planer parts of the mosque. The swastika symbol of the tiles is a reminder of timelessness and birth and death.