Complex sentence: They then established his first cousin Rafi ud-Darajat as the next ruler in February 1719; when he died of lung disease in June, they made his elder brother Rafi ud-Daulah (Shah Jahan II).
Split into simpler sentences: They then established his first cousin Rafi ud-Darajat as the next ruler in February 1719. When he died of lung disease in June, they made his elder brother Rafi ud-Daulah (aka Shah Jahan II).