Aga Khan I ( or ) or Hasan Ali Shah () (1804–1881) was the governor of Kirman, the 46th Imam of the Nizari Ismaili Muslims, and a prominent Muslim leader in Iran and later in the Indian subcontinent. He was the first Nizari Imam to hold the title Aga Khan.
Early life and family
The Imam Hasan Ali Shah was born in 1804 in Kahak, Iran to Shah Khalil Allah III, the 45th Ismaili Imam, and Bibi Sarkara, the daughter of Muhammad Sadiq Mahallati (d. 1815), a poet and a Ni‘mat Allahi Sufi. Shah Khalil Allah moved to Yazd in 1815, probably out of concern for his Indian followers, who used to travel to Persia to see their Imam and for whom Yazd was a much closer and safer destination than Kahak. Meanwhile, his wife and children (Including Hasan Ali) continued to live in Kahak off the revenues obtained from the family holdings in the Mahallat () region. Two years later, in 1817, Shah Khalil Allah was killed in Yazd during a brawl between some of his followers and local shopkeepers. He was succeeded by his eldest son Hasan Ali Shah, also known as Muhammad Hasan, who became the 46th Imam.

While Khalil Allah resided in Yazd, his land holdings in Kahak were being managed by his son-in-law, Imani Khan Farahani, husband of his daughter Shah Bibi. After Khalil Allah's death, a conflict ensued between Imani Khan Farahani and the local Nizaris (followers of Imam Khalil Allah), as a result of which Khalil Allah's widow and children found themselves left unprovided for. The young Imam and his mother moved to Qumm, but their financial situation worsened. The dowager decided to go to the Qajar court in Tehran to obtain justice for her husband's death and was eventually successful. Those who had been involved in the Shah Khalil Allah's murder were punished. Not only that, but the Persian king Fath Ali Shah gave his own daughter, princess Sarv-i-Jahan Khanum, in marriage to the young Imam Hasan Ali Shah and provided a princely dowry in land holdings in the Mahallat region. King Fath Ali Shah also appointed Hasan Ali Shah as governor of Qumm and bestowed upon him the honorific of "Aga Khan". Thus did the title of "Aga Khan" enter the family. Hasan Ali Shah become known as Aga Khan Mahallati, and the title of Aga Khan was inherited by his successors. Aga Khan I's mother later moved to India where she died in 1851. Until Fath Ali Shah's death in 1834, the Imam Hasan Ali Shah enjoyed a quiet life and was held in high esteem at the Qajar court.





