Kassim Ali was born most probably in 1086/1675. He was also known as Sayed Aga Jafar, or Sayed Jafar. His mother related to a Safavid amir of Kirman. According to the later sources, Imam had married to one of the daughters of Shah Tahmasp II (d. 1145/1732).
His period of Imamate witnessed several vital cataclysm in Iranian kingdom, therefore, the Ismaili mission exercised great care. It seems that Kassim Ali also took part in the politics like his father, and was also the governor of Kirman. He had however come to reside in Mahallat during the ending period of his Imamate.
It is known that in 1115/1703, the Nusairis tribe of Raslan, known as al-Rasalina fiercely attacked on the Ismaili villages in Syria, and took hold of Masiyaf for about eight years. The Ottoman authorities at Latakia, finally assisted the Ismailis to recover their castle. One Syrian Ismaili caravan is however reported to have repaired to Kirman in this context between 1117/1705 and 1120/1708.
It also appears from the fragment of the traditions that during the occupation of Masiyaf by the Nusairis for eight years, some Ismaili families moved towards the northern Syria and began to live in the mantles of the Druzes at Jabal al-A'la, the mountain of Keftin, where their number increased considerably after few decades. Carsten Niebuhr (1733-1815), the famous German traveller had been invited in 1760 to join the Arabian expedition being sent out by Frederick V of Denmark. He writes in "Voyage en Arabie et en d' austres pays circonvoisins" (tr. from German, Amsterdam, 1870, 2nd vol., p. 348) that he was not certain whether the inhabitants of this district were indeed the Druzes. He was reportedly told that there were more than forty villages populated by Druzes; however, he suspected their veracity because, he said, the people looked like the Ismailis.
In Syria, the Ismailis also resided in peace in the town of Masiyaf. Abdul Ghani al-Nabulusi, a famous mystic and traveller had passed through Masiyaf in 1106/1693-4, and describes in his "al-Hakika wa'l majaz fi rihlat al-Sham wa Misr wa'l Hijaz" about a certain Ismaili, called Suleman Tanukhi as a chief of the town.
The Ismailis lived in peace in India, but the Ismailis of Kashmir had to follow precaution because of a curious religious tendency. Khwaja Muhammad Azam Didah-mari writes in "Waqi'at-i Kashmir" (comp. 1160/1747) that the Shaikh al-Islam of Kashmir, Muhtavi Khan, alias Mulla Abdul Nabi, demanded in Kashmir that the Hindus should not ride on horses, put on caste-marks on their foreheads and not wear turbans. He made an attempt to prevail upon Mir Ahmad Khan, the deputy governor of the province, to support him in this mission. Mir Ahmad Khan did not agree, whereupon the Mulla incited the Muslims and created a communal commotion in Srinagar in 1130/1720. A year later Mulla Muhtavi Khan was put to death by Khwaja Abdullah Khan Deb Bedi.
The Safavid Shah Suleman died in 1105/1693, and was succeeded by his son Shah Hussain, who ruled till 1135/1722. Shah Hussain soon abandoned his austere way of life and, like his father took to drink. He became so luxurious that the size and magnificence of his harem was a serious drain of the exchequer. Like his father, he had no interest in state affairs, which was distressing and ultimately disastrous aspect of the empire. Within the empire, this lack of interest signalled increasing corruption and inefficiency in provincial government. Insecurity on the highways was widespread. Often travellers were robbed by the very officials who were supposed to protect them.
According to Rida Quli Khan in "Raudat al-Safa'i Nasiri" (Tehran, 1853) that, "After the accession of Shah Hussain in 1105/1693, the signs of decline (inhitat), nay, rather, of extinction (inqirad) of the life of the dynasty became from day to day manifest." By the time of Shah Hussain, the bureaucratic centralization of the state structure was weakened through incompetence, and cloven by bigoted in high places. The military weakness of the state was thrown into sharp relief in 1110/1698 when a band of Baluchi tribesmen raided Kirman, almost reached Yazd and threatened Port Abbas. Shah Hussain turned to the Georgian prince Giorgi XI, who happened to be at the Safavid court, for help in repelling the Baluchis. Giorgi was made governor of Kirman in 1111/1699 and defeated the invaders. Ten years after the Baluchis incursion, the military feebleness of the Safavid empire and, in particular, the defenseless state of the eastern frontier, was demonstrated again, and this time with more serious consequences for the state. In 1121/1709, the Gilzay Afghans under their leader, Mir Vays, seized Kandhar and killed Giorgi. After Mir Vays's death in 1127/1715, his brother Abul Aziz succeeded him as chief of the Gilzay Afghans. In 1128/1716, Mehmud, the eldest son of Mir Vays, became the chief of Gilzay Afghans and attacked Kirman. Shah Hussain had to leave Ispahan for Qazwin, therefore, Mehmud took chance to march ahead, and subdued a small military unit and occupied Ispahan in 1134/1722.
In 1127/1715, the Tzar Peter the Great, sent Artemii Petrovich Volynsky as an ambassador to Shah Hussain; he was to conclude a commercial treaty with Iran. He also collected secrecy of Iranian resources and important communication. Volynsky reported that the general situation in Iran was so disturbed, and the army so demoralized and inefficient, that the country could easily be conquered by a small Russian army. By 1133/1721, if not before, the Tzar had decided to invade Iran. He showing of the flag in the Caspian coastal provinces in 1134/1722 had occasioned great alarm in Istanbul, and there was a flurry of diplomatic activity as the possibility of war between Russia and Turkey became stronger or receded. The outcome was the Russo-Ottoman Treaty for the partition of Iran's north-west provinces, dated June 24, 1724. The dismemberment of Iran was short-lived. Six Russian battalions landed in Gilan in 1135/1723, and another Russian forces captured Baku. Hence, Iran's Caspian provinces of Gilan, Mazandaran and Astrabad had gone in the Russian pocket. On the other side, the European merchants started their dominion on the principal sea-ports of the Muslim countries.
Imam Kassim Ali was made the governor of Kirman in 1106/1694, but when the Baluchi tribesmen had raided Kirman in 1110/1698, the military control was assigned to the Georgian prince Giorgi XI by making him the governor of those parts of Kirman which had been affected by the invaders.
In Kirman, the village land was factorized into six shares (dang), each of which comprised one-sixth of the village water supply together with the land watered thereby. Imam Kassim Ali was the governor of the three villages, viz. Shahr-i Babak, Kahek and Mahallat. The Safavid authority accorded him due permission to create an Ataullahi regiment in the Safavid military for security against the Baluchi invaders.
In 1134/1722, an appaling drought reduced the inhabitants of Kirman and Ispahan to the last extremity. It was so severe that hundreds of rotting corpses clogged the streets. At least 80,000 people are said to have perished from starvation and disease. It is learnt that a bulk of the Ismaili from Fars with the governor started from Ispahan to help the affected persons, but Mehmud, the chief of Gilzay Afghans had occupied Ispahan on December 25, 1722 and was proclaimed as a ruler, therefore, the Ismailis could not enter the city.