Territorial evolution of the Ottoman Empire
Suleiman I ( "Süleymān", ; almost always "Kanuni Sultan Süleyman") (6 November 1494  – 5/6/7 September 1566), was the tenth and longest-reigning Sultan of the Ottoman Empire, from 1520 to his death in 1566. Suleiman became a prominent monarch of 16th century Europe. Suleiman personally led Ottoman armies to conquer the Christian strongholds of Belgrade, Rhodes, and most of Hungary. In 1541 he annexed central Hungary while Transylvania became an Ottoman vassal. However rest of the Kingdom of Hungary including western and northern (Upper) Hungary and Croatia still were Habsburgs possessions. Suleiman also conquered Iraq in his conflict with the Safavid dynasty. Under his rule, the Ottoman fleet dominated the seas from the Mediterranean to the Red Sea and the Persian Gulf.
Selim I
Selim then conquered the Mamluk Sultanate of Egypt, defeating the Mamluk Egyptians first at the Battle of Marj Dabiq, and then at the Battle of Ridanieh. This led to the Ottoman annexation of the entire sultanate, from Syria and Palestine in Sham, to Hejaz and Tihamah in the Arabian Peninsula, and ultimately Egypt itself. This permitted him to extend Ottoman power to the Muslim holy cities of Mecca and Medina, hitherto under Egyptian rule. Rather than style himself the "Ḥākimü'l-Ḥaremeyn", or "The Ruler of The Two Holy Cities", he accepted the more pious title "Ḫādimü'l-Ḥaremeyn", or "The Servant of The Two Holy Cities".