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,
Army of the Three Guarantees Three Guarantees was created on February 24, 1821, and continued battling Spanish royalist forces which refused to accept Mexican independence. These battles continued until August 1821, when Iturbide and Spanish Viceroy Juan de O'Donojú signed the Treaty of Córdoba, virtually ratifying Mexico's independence. The Army was a decisive force during the Battle of Azcapotzalco. The victory in this last battle of the war cleared the way to Mexico City. On September 27, 1821, the Army of the Three Guarantees triumphantly entered Mexico City, led by Iturbide. The following day Mexico was declared independent. By that time, the Army of the