 Although the casualties of the Army of the North were not substantial, it was left demoralized and disbanded. Goyeneche pursued the fleeing patriots, and captured Huaqui after his victory. The inhabitants of Upper Peru welcomed the royalists back, so the army had to quickly leave those provinces. However, the resistance of Cochabamba prevented the royalists from proceeding to Buenos Aires. Castelli moved to the post of Quirbe, and received orders to return to Buenos Aires for trial. However, by the time he was notified, new orders had been issued: Castelli should be confined at Catamarca, while Saavedra himself took charge of the Army of the North. Saavedra was deposed as soon as he left Buenos Aires, and was confined to San Juan. The First Triumvirate, which had commenced governing by then, required Castelli to return.
