
After eliminating Sayyed brothers in 17 with the support of Emperor Muhammad Shah he served as a Mughal Grand vizier and due to difference with the Emperor and his nobles he left all of his imperial assignments and moved to the Deccan and established Asaf Jahi dynasty of which he was the Nizam I. When Bahadur Shah I became victorious Asaf Jah was assigned governorship of Subah-(provinces) which keep changing until 1714 AD when Emperor Farrukhsiyar assigned him the Mughal Viceroy of the Deccan-administrator of six Mughal governorates in South India and from 1719 to 1722 AD he was engaged in establishing his authority over different Mughal governorates and resolving ruckus created by Sayyid brothers after the death of Emperor Aurangzeb. A trusted nobleman and General of Mughal Emperor Aurangzeb, in 1707 AD during the war of accession among Mugahl prince's Asaf Jah kept neutral policy without being side with any of Aurangzeb's son's. Mir Qamar-ud-din Khan Siddiqi Bayafandi also known as Chin Qilich Kamaruddin Khan, Nizam-ul-Mulk, Asaf Jah and Nizam I, was the 1st Nizam of Hyderabad. He was buried beside Rafi ud-Darajat at the dargah of Qutbuddin Bakhtiar Kaki. He died on 17 September 1719 at Bidyapur. He was physically and mentally unfit to perform the duties of a ruler. Shah Jahan II suffered from tuberculosis just like his younger brother. Without the presence of one of the Sayyid brothers, he was not allowed to meet any noble or to attend the jummah. His first appearance at the Diwan-i-Aam was on 11 June. His name was read in the khutbah for the first time on 13 June. Just like his younger brother, Shah Jahan II was chosen by the kingmaker Sayyid brothers and wielded no power in practicality. He took the title "Shah Jahan Sani" ( English: Shah Jahan II). His coronation took place at Diwan-i-Khas of the Red Fort.

Shah Jahan II ascended the throne on 6 June 1719 after the death of his younger brother Rafi ud-Darajat due to tuberculosis. Whether he married or not, whether he had any child or not is also unknown. He was eighteen months older than his brother Rafi ud-Darajat. Shah Jahan II's exact date of birth is not known. He was the second son of Rafi-ush-Shan and a grandson of Bahadur Shah I. Shah Jahan II was born as Rafi ud-Daulah.

Like his brother, he died of tuberculosis and was buried in the dargah of Qutbuddin Bakhtiar Kaki. After being chosen by the Sayyid brothers, he succeeded his short-lived brother Rafi ud-Darajat in that year. Shah Jahan II ( Persian : شاه جهان دوم (June 1696 – 19 September 1719), birth name Rafi ud-Daulah ( Persian : رفیع الدوله ), was the twelfth Mughal emperor for a brief period in 1719.
