Islam migrants ("Muhajirun"), Muhammad in Medina established his political and religious authority. The Constitution of Medina was formulated, instituting a number of rights and responsibilities for the Muslim, Jewish, Christian and pagan communities of Medina, bringing them within the fold of one community—the Ummah. The Constitution established: All the tribes signed the agreement to defend Medina from all external threats and to live in harmony amongst themselves. Within a few years, two battles took place against the Meccan forces: first, the Battle of Badr in 624 – a Muslim victory, and then a year later, when the Meccans returned to Medina,
Battle of Karbala 14th Rabi' al-awwal of 65 AH, Mukhtar's followers began the revolt by shouting "Ya Mansur-o Amet" (O victorious, make [them] die!), a slogan originally used by Muslims in battle of Badr, and "Ya Lisarat al-Husayn" (O Those Who Want to Avenge the Blood of Husayn). Forces allied with Mukhtar entered Kufah. Iranian forces called "Jond-o-l Hamra'a" (Red Army) were the core of Mukhtar's forces. Finally, Mukhtar captured Ibn Ziyad's palace and announced the victory of his uprising on the following day, when he led prayers in a mosque, as well as holding a lecture regarding the goals of his uprising.