Origin
Pir Sadruddin and his grandson Pir Imam Shah are credited with the conversion of the Khojas from the Hindu caste of the Lohanas located in Punjab, Rajasthan, and Gujarat. He laid the foundation of the communal organization, built the first assembly and prayer halls and appointed the community leaders mukhis. The founder of the Imamshahi Satpanth was Pir Sayed Nur or Nar Muhammad Shah who broke with the Nizari Isma'ili dawah in the 16th century by proclaiming himself the da'i instead of Pir Tajuddin who was appointed as the Nizari Isma'ili da'i for Hind and Sindh by the Nizari Isma'ili Imam Muhammad bin Islam Shah. He thus lead the Satpanth until his death in 1534 AD.
The descendants of Pir Sayed Nar Muhammad Shah (died 1534) led the Imamshahi Satpanth and its branches. They were Sa'id Khan, Muhammad Shah and Shahji Miran Shah. Shahji Miran Shah's son and successor Sayyid Muhammad Shah along with his followers, especially among the Matiya Kanbis caste, launched a revolt and seized the fort of Bharuch. This revolt occurred around 1688/89 and was put down by Aurangzeb. The leadership of the Imamshahi Satpanth remained in the hands of the direct descendants of Shahji Miran Shah until Baqir Ali who died around 1835 and was the last Pir of the Aththiya. Shahji Miran Shah's wife Raji Tahira founded a separate branch of the Imamshahi Satpanth. The Imamshahi Satpanth then split into various groups that later identified as either Hindu or Muslim in the present day.
Pir Sayyid Imam Shah was a prominent Nizari Ismaili da'i in India. His name was Imamuddin Abdur Rahim. He was born in Uchh Sharif in 834/1430, and was the younger son of Pir Hasan Kabiruddin. The Nizari Isma'ili historical tradition explains that when Pir Hasan Kabiruddin died, all his sons were present at Uch Sharif with the exception of Pir Sayed Imam Shah.
The foundational narrative of the Gupti community of Bhavnagar references Pir Sayyid Imam Shah's Satpanth teachings. It discusses the pilgrimage of their Hindu ancestors to the sacred city of Kashi to bathe in the Ganges in search of forgiveness for their sins. On their way to Kashi, they encountered Imam Shah near Ahmedabad, who explained the futility of the journey and that they could bathe in the Ganges at that very place. He explained the mysteries of the Satpanth to pilgrims, who joined the path of their new spiritual guide. Gupti leaders were given an audience (dīdār) with the Ismaili Imam Sir Sultan Muhammad Shah Aga Khan III in 1939. Details of this encounter are recorded in the Khojki book The Jewel of Mercy, which describes how the Imam told the Gupti leaders that Imam Shah had correctly shown them recognition of the Imam of the time, in accordance with his own beliefs. The Imam further urged them to perform esoteric worship (bāṭinī ‘ibādat), never pretentiously, and to never cause pain to anyone.[1]
Pir Sayyid Imam Shah married the daughter of Shah Muhammad Shah II Bakhri, the Sultan of the Gujarat Sultanate, who gave birth to Pir Sayed Nur/Nar Muhammad Shah (d. 1534 CE). Pir Sayed Imam Shah died in 1520 CE and was buried in Pirana, Gujarat, the site of his famous Dargah. It is said that he abjured traditional Ismailism and created a community far more syncretic with Hinduism, Buddhism and Jainism. The reason for this schism is often attributed to legends of a quarrel with his kin or a shift in his own philosophy and theology. Weighing up the extant evidence, it appears that he remained ingrained in Nizari Ismailism and demonstrated unswerving loyalty to the Nizari Ismaili Imams, till his death, and never took any other route in his ambition. He remains famous and revered by his followers for encouraging the preservation of traditional (mostly Hindu) culture and customs, in stark contrast to other Islamic and Christian missions. According to "The Shorter Encyclopaedia of Islam" (Leiden, 1961, p. 167), "As far as it is possible to ascertain, he cannot be regarded as the founder of a new sect, as he remained loyal to the Imam of his time." He wrote many ginans which are recited by the Nizari Ismailis. He had four sons, viz. Sayed Alam Shah, Sayed Ali Shah, Sayed Bakar Shah and Sayed Nur Muhammad Shah, and a daughter called Shams Khatoon.