The Hijra, or the relocation of Muhammad and his followers from Mecca to Medina, was important because it allowed Islam to establish a community, or umma. Whereas Muslims faced persecution from the polytheistic majority in Mecca, the people of Medina accepted Islam and used religious unity to overcome clan rivalries.