At the height of European colonial expansion in the 19th century, most of the Islamic world was under colonial rule with the exception of a few regions such as the heart of the Ottoman empire, Persia, Afghanistan, Yemen and certain parts of Arabia. But even these areas were under foreign influence or, in the case of the Ottomans, under constant threat. After the First World War with the breakup of the Ottoman empire, a number of Arab states such as Iraq became independent, others like Jordan were created as a new entity and yet others like Palestine, Syria and Lebanon were either mandated or turned into French colonies. As for Arabia, it was at this time that Saudi Arabia became finally consolidated. As for other parts of the Islamic world, Egypt which had been ruled by the descendents of Muhammad Ali since the l9th century became more independent as a result of the fall of the Ottomans, Turkey was turned into a secular republic by Ataturk, and the Pahlavi dynasty began a new chapter in Persia where its name reverted to its eastern traditional form of Iran. But most of the rest of the Islamic world remained under colonial rule.