The Empire prospered under the rule of a line of committed and effective Sultans. Sultan Selim I (1512–1520) dramatically expanded the Empire's eastern and southern frontiers by defeating Shah Ismail of Safavid Persia, in the Battle of Chaldiran. Selim I established Ottoman rule in Egypt, and created a naval presence on the Red Sea. After this Ottoman expansion, a competition started between the Portuguese Empire and the Ottoman Empire to become the dominant power in the region.