Sultan Ali was a Shi'i Muslim imam, remembered in Iran for his teaching and for the shrine at his burial place in Ardihal. Born in Medina, he was the son of Muhammad al-Baqir, the 5th imam of Twelver Shi'i Muslims and the 4th imam of Isma'ili Shi'i Muslims.
His father sent him to the areas around Kashan and Qom, where Sultan Ali led Friday prayers and taught. His growing popularity and preaching of Shi'i Islam alarmed the local Umayyad representative. After a prolonged battle, the representative’s forces killed Sultan Ali and a group of his supporters before a larger band of followers could reach them. He died on August 7, 734, in Ardihal, about 45 kilometers east of Kashan.
Sultan Ali remained an object of veneration, especially among Shi'i Muslims in Iran. His burial place, partly dating to the Saljuq period and renovated repeatedly, became a site of visitation. Each autumn, a carpet-washing ritual known as qālī-shūyān takes place there on the 17th day of the season in commemoration of his death. The ritual may recall the account that his body was wrapped in a carpet and carried to the burial site.
Genealogical reports identify Sultan Ali as the brother of the 6th Shi'i imam and possibly the father-in-law of the 7th, through his daughter Fāṭima.