Muhammad in Medina with Meccans, who were now eager to avenge their defeat. To maintain their economic prosperity, the Meccans needed to restore their prestige, which had been lost at Badr. The Meccans sent out a small party for a raid on Medina to restore confidence and reconnoitre. The party retreated immediately after a surprise and speedy attack but with minor damages; there was no combat. In the ensuing months, Muhammad led expeditions on tribes allied with Mecca and sent out a raid on a Meccan caravan. Abu Sufyan ibn Harb subsequently gathered an army of three thousand men and set out for
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,