Mir Sayyid Ali Hamadani was a Sufi saint of the Kubrawiya order, who played an important role in the spread of Islam in the Kashmir Valley. He was born in Hamadan, Iran, and preached Islam in Central Asia and South Asia. He died in Swat on his way from Srinagar to Mecca and was buried in Khatlan, Tajikistan, in 1385 CE, aged 71–72. Hamadani was also addressed honorifically throughout his life as the Shāh-e-Hamadān ("King of Hamadan"), Amīr-i Kabīr ("the Great Commander"), and Ali Sani ("second Ali").