In 1824, Muhammad Ali was appointed governor of the Morea (the Peloponnese peninsula in southern Greece) by Ottoman Sultan Mahmud II.