As of late 1824, Royalists still had control of most of the south of Peru as well as of Real Felipe Fort in the port of Callao. On 9 December 1824, the Battle of Ayacucho (Battle of La Quinua) took place at Pampa de Ayacucho (or Quinua), a few kilometers away from Ayacucho, near the town of Quinua between Royalist and Independentist forces. Independentist forces were led by Simón Bolívar's lieutenant Sucre. Viceroy José de la Serna was wounded, and after the battle second commander-in-chief José de Canterac signed the final capitulation of the Royalist army.