As Muhammad Ali was expanding his authority into Africa, the Ottoman Empire faced ethnic rebellions in its European territories. The Greek rebellion against Ottoman rule began in 1821. The Ottoman army failed to put down the revolt, and ethnic violence spread as far as Constantinople. Sultan Mahmud II offered Muhammad Ali the island of Crete in exchange for his support in putting down the revolt.