Battle of the Trench around 10,000 men and six hundred horsemen. In January 627 the army, which was led by Abu Sufyan, marched on Medina. In accordance with the plan the armies began marching towards Medina, Meccans from the south (along the coast) and the others from the east. At the same time horsemen from the Banu Khuza'a left to warn Medina of the invading army. The men from Banu Khuza'a reached Muhammad in four days, warning him of the Confederate armies that were to arrive in a week. Muhammad gathered the Medinans to discuss the best strategy of overcoming the enemy. Meeting the
Army of the North victory. The battle was favorable to Balcarce even though he again had numerical inferiority (800 royalist against 600 rebels, and in Cotagaita 2,000 royalists against 1,100 rebels). Balcarce earned the rank of brigadier, and the confidence to advance towards the Desaguadero River, border of the viceroyalty in colonial times. Due to internal disagreements Castelli had to dismiss Güemes and his gaucho soldiers. The royalist defenses were left in charge of general José Manuel de Goyeneche, who met with Castelli and signed an armistice to last for forty days from 16 May. The army moved from the encampment at La Laja,