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.
Caliphate
The caliphate was claimed by the sultans of the Ottoman Empire beginning with Murad I (reigned 1362 to 1389), while recognising no authority on the part of the Abbasid caliphs of the Mamluk-ruled Cairo. Hence the seat of the caliphate moved to the Ottoman capital of Edirne. In 1453, after Mehmed the Conqueror's conquest of Constantinople, the seat of the Ottomans moved to Constantinople, present-day Istanbul. In 1517, the Ottoman sultan Selim I defeated and annexed the Mamluk Sultanate of Cairo into his empire. Through conquering and unifying Muslim lands, Selim I became the defender of the Holy Cities of Mecca and Medina, which further strengthened the Ottoman claim to the caliphate in the Muslim world. Ottomans gradually came to be viewed as the "de facto" leaders and representatives of the Islamic world. However, the earlier Ottoman caliphs did not officially bear the title of caliph in their documents of state, inscriptions, or coinage. It was only in the late eighteenth century that the claim to the caliphate was discovered by the sultans to have a practical use, since it allowed them to counter Russian claims to protect Ottoman Christians with their own claim to protect Muslims under Russian rule.