title: Aga Khan I
text: 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.
  
  Governorship of Kerman
  
  Soon after the accession of Muhammad Shah Qajar to the throne of his grandfather, Fath Ali Shah, the Imam Hasan Ali Shah was appointed governor of Kerman in 1835. At the time, Kerman was held by the rebellious sons of Shuja al-Saltana, a pretender to the Qajar throne. The area was also frequently raided by the Afghans. Hasan Ali Shah managed to restore order in Kerman, as well as in Bam and Narmashir, which were also held by rebellious groups. Hasan Ali Shah sent a report of his success to Tehran, but did not receive any material appreciation for his achievements. Despite the service he rendered to the Qajar government, Hasan Ali Shah was dismissed from the governorship of Kerman in 1837, less than two years after his arrival there, and was replaced by Firuz Mirza Nusrat al-Dawla, a younger brother of Muhammad Shah Qajar. Refusing to accept his dismissal, Hasan Ali Shah withdrew with his forces to the citadel at Bam. Along with his two brothers, he made preparations to resist the government forces that were sent against him. He was besieged at Bam for some fourteen months. When it was clear that continuing the resistance was of little use, Hasan Ali Shah sent one of his brothers to Shiraz in order to speak to the governor of Fars to intervene on his behalf and arrange for safe passage out of Kerman. With the governor having interceded, Hasan Ali Shah surrendered and emerged from the citadel of Bam only to be double-crossed. He was seized and his possessions were plundered by the government troops. Hasan Ali Shah and his dependents were sent to Kerman and remained as prisoners there for eight months. He was eventually allowed to go to Tehran near the end of 1838-39 where he was able to present his case before the Shah. The Shah pardoned him on the condition that he return peacefully to Mahallat. Hasan Ali Shah remained in Mahallat for about two years. He managed to gather an army in Mahallat which alarmed Muhammad Shah, who travelled to Delijan near Mahallat to determine the truth of the reports about Hasan Ali Shah. Hasan Ali Shah was on a hunting trip at the time, but he sent a messenger to request permission of the monarch to go to Mecca for the hajj pilgrimage. Permission was given, and Hasan Ali Shah's mother and a few relatives were sent to Najaf and other holy cities in Iraq in which the shrines of his ancestors, the Shiite Imams are found.
  
  Prior to leaving Mahallat, Hasan Ali Shah equipped himself with letters appointing him to the governorship of Kerman. Accompanied by his brothers, nephews and other relatives, as well as many followers, he left for Yazd, where he intended to meet some of his local followers. Hasan Ali Shah sent the documents reinstating him to the position of governor of Kerman to Bahman Mirza Baha al-Dawla, the governor of Yazd. Bahman Mirza offered Hasan Ali Shah lodging in the city, but Hasan Ali Shah declined, indicating that he wished to visit his followers living around Yazd. Hajji Mirza Aqasi sent a messenger to Bahman Mirza to inform him of the spuriousness of Hasan Ali Shah's documents and a battle between Bahman Mīrzā and Hasan Ali Shah broke out in which Bahman Mirza was defeated. Other minor battles were won by Hasan Ali Shah before he arrived in Shahr-e Babak, which he intended to use as his base for capturing Kerman. At the time of his arrival in Shahr-e Babak, a formal local governor was engaged in a campaign to drive out the Afghans from the city's citadel, and Hasan Ali Shah joined him in forcing the Afghans to surrender.
  
  Soon after March 1841, Hasan Ali Shah set out for Kerman. He managed to defeat a government force consisting of 4,000 men near Dashtab, and continued to win a number of victories before stopping at Bam for a time. Soon, a government force of 24,000 men forced Hasan Ali Shah to flee from Bam to Rigan on the border of Baluchistan, where he suffered a decisive defeat. Hasan Ali Shah decided to escape to Afghanistan, accompanied by his brothers and many soldiers and servants.
  
  Afghanistan
  Fleeing Iran, Hasan Ali Shah arrived in Kandahar, Afghanistan in 1841 – a town that had been occupied by an Anglo-Indian army in 1839 in the First Anglo-Afghan War. A close relationship developed between Hasan Ali Shah and the British, which coincided with the final years of the First Anglo-Afghan War (1838–1842). After his arrival, Hasan Ali Shah wrote to Sir William Macnaghten, discussing his plans to seize and govern Herat on behalf of the British. Although the proposal seemed to have been approved, the plans of the British were thwarted by the uprising of Dost Muhammad's son Muhammad Akbar Khan, who defeated and annihilated the British-Indian garrison at Gandamak on its retreat from Kabul in January 1842.
  
  Sindh
  Hasan Ali Shah soon proceeded to Sindh, where he rendered further services to the British. The British were able to annex Sindh and for his services, Hasan Ali Shah received an annual pension of £2,000 from General Charles James Napier, the British conqueror of Sindh with whom he had a good relationship.
  
  Bombay
  In October 1844, Hasan Ali Shah left Sindh for the city of Bombay in the Bombay Presidency, British India passing through Cutch and Kathiawar where he spent some time visiting the communities of his followers in the area. After arriving in Bombay in February 1846, the Persian government demanded his extradition from India. The British refused and only agreed to transfer Hasan Ali Shah's residence to Calcutta, where it would be harder for him to launch new attacks against the Persian government. The British also negotiated the safe return of Hasan Ali Shah to Persia, which was in accordance with his own wish. The government agreed to Hasan Ali Shah's return provided that he would avoid passing through Baluchistan and Kirman and that he was to settle peacefully in Mahallat. Hasan Ali Shah was eventually forced to leave for Calcutta in April 1847, where he remained until he received news of the death of Muhammad Shah Qajar. Hasan Ali Shah left for Bombay and the British attempted to obtain permission for his return to Persia. Although some of his lands were restored to the control of his relatives, his safe return could not be arranged, and Hasan Ali Shah was forced to remain a permanent resident of India. While in India, Hasan Ali Shah continued his close relationship with the British, and was even visited by the Prince of Wales (the future King Edward VII) when he was on a state visit to India. The British came to address Hasan Ali Shah as His Highness. Hasan Ali Shah received protection from the British government in British India as the spiritual head of an important Muslim community.
  
  Khoja reassumption and dispute
  
  The vast majority of his Khoja Ismaili followers in India welcomed him warmly, but some dissident members, sensing their loss of prestige with the arrival of the Imam, wished to maintain control over communal properties. Because of this, Hasan Ali Shah decided to secure a pledge of loyalty from the members of the community to himself and to the Ismaili form of Islam. Although most of the members of the community signed a document issued by Hasan Ali Shah summarizing the practices of the Ismailis, a group of dissenting Khojas surprisingly asserted that the community had always been Sunni. This group was outcast by the unanimous vote of all the Khojas assembled in Bombay. In 1866, these dissenters filed a suit in the Bombay High Court against Hasan Ali Shah, claiming that the Khojas had been Sunni Muslims from the very beginning. The case, commonly referred to as the Aga Khan Case, was heard by Sir Joseph Arnould. The hearing lasted several weeks, and included testimony from Hasan Ali Shah himself. After reviewing the history of the community, Justice Arnould gave a definitive and detailed judgement against the plaintiffs and in favour of Hasan Ali Shah and other defendants. The judgement was significant in that it legally established the status of the Khojas as a community referred to as Shia Nizari Ismailis, and of Hasan Ali Shah as the spiritual head of that community. Hasan Ali Shah's authority thereafter was not seriously challenged again.
  
  Final years
  
  Hasan Ali Shah spent his final years in Bombay with occasional visits to Pune. Maintaining the traditions of the Iranian nobility to which he belonged, he kept excellent stables and became a well-known figure at the Bombay racecourse. Hasan Ali Shah died after an imamate of sixty-four years in April 1881. He was buried in a specially built shrine at Hasanabad in the Mazagaon area of Bombay. He was survived by three sons and five daughters. Hasan Ali Shah was succeeded as Imam by his eldest son Aqa Ali Shah, who became Aga Khan II.
  
  Notes
  
  Further reading
  
  People of Qajar Iran
  1804 births
  1881 deaths
  Aga Khans
  Iranian Ismailis
  Indian Ismailis
  Indian imams
  People from Qom Province
  Iranian emigrants to India
  19th-century Iranian people
  19th-century Ismailis