Aga Khan II (; ) the formal name for Aqa Ali Shah (. He was born in 1830 in Mahallat, Iran and died in August 1885 in Pune, India). He was a Muslim leader. He was the 47th Imam of a religious group called Nizari Ismaili Muslims. He became the Imam in 1881. He was a member of the Iranian royal family. He worked to improve his own community and the Muslim community in India. He really enjoyed sports and hunting.