Son of the mayor of the city of Buenos Aires Manuel Antonio Warnes y Durango and Ana Jacoba García de Zúñiga y Lizola.
Warnes distinguished himself at the battles of Tucumán and Salta, when the army attempted the liberation of Upper Peru (present-day Bolivia).
After these battles, Belgrano ordered him to command (1813) a troop to advance through the Gran Chaco to liberate Santa Cruz de la Sierra.
Even though they disagreed, Arenales proved generous and marched his troops to help when Warnes was defeated by the royalist colonel Blanco at Angostura.
Reintegrated to the Army of the North, he contacted general Rondeau, offering him horses and cavalry troops, plus services of coordination and messengers.
Rondeau, declined the offer and instead sent ex-governor of Córdoba Santiago Carrera to replace Warnes in the government of Santa Cruz.
The royalist cavalry was defeated and Aguilera lost half his men but Warnes was hit by a bullet and killed.