Transformation of the Ottoman Empire
Sultan Suleiman I (r. 1520–1566) was the longest-reigning sultan in Ottoman history, but the last years of his reign were characterized by uncertainty over who would be his successor. Suleiman had three sons who could hope to succeed, Mustafa, Bayezid, and Selim. While the latter two were the children of Suleiman's wife Hurrem Sultan, the first was the son of an earlier concubine. Mustafa may have felt that his half-brothers possessed an unfair advantage over him, and thus worked to secure the favor of the military. Perhaps suspecting that Mustafa planned to dethrone him just as his own father had done to his grandfather, Suleiman acted first and in 1553 ordered that Mustafa be executed. The death of Hurrem Sultan in 1558 triggered open conflict between the two remaining candidates, and Selim ultimately emerged victorious. Suleiman further strengthened his son's position by arranging a marriage between Selim's daughter and the influential Sokollu Mehmed Pasha (Grand Vizier 1565–1579). Suleiman died in 1566, while besieging the fortress of Szigetvar in Hungary, bringing Selim to the throne.
Sultan of Egypt
Muhammad Ali's grandson, Ismail I, acceded to the Egyptian throne in 1863 and immediately set about achieving his grandfather's aims, though in a less confrontation manner. A combination of growing Egyptian power, deteriorating Ottoman strength, and outright bribery led to Ottoman Sultan Abdulaziz formally recognizing the Egyptian ruler as Khedive in 1867. As Ismail expanded Egypt's borders in Africa, and the Ottoman Empire continued to decay, Ismail believed he was close to realizing formal Egyptian independence, and even contemplated using the opening of the Suez Canal in 1869 to declare himself Sultan of Egypt. He was persuaded otherwise by pressure from the Great Powers, who feared the consequences of further disintegration of Ottoman power. Ultimately, Ismail's reign ended in failure, due to the massive debt his ambitious projects had incurred. European and Ottoman pressure forced his removal in 1879 and replacement by his far more pliant son Tewfik. The subsequent Orabi Revolt resulted in Great Britain invading Egypt in 1882 on the invitation of Khedive Tewfik, and beginning its decades long occupation of the country.