As of late 1824, Royalists still had control of most of southern Peru as well as Real Felipe Fort in the port of Callao. On December 9, 1824, the Battle of Ayacucho took place at Pampa de La Quinua, near the town of Quinua, between Royalist and Patriot forces. Sucre, as Simón Bolívar's lieutenant, led the Patriot forces to victory over the Viceroy José de la Serna, who was wounded. After the battle, second commander-in-chief José de Canterac signed the final capitulation of the Royalist army on his behalf. As a result, he was promoted, at the request of the Peruvian Congress, to Marshal and as General in Chief by the Colombian legislature.