The fight for independence gained new impetus after the December 9, 1824, Battle of Ayacucho, in which a combined army of 5,700 Gran Colombian and Peruvian troops under the command of Antonio José de Sucre defeated the royalist army of 6,500 and captured its leader, José de la Serna.