[1] Ágreda was born in Potosí, Bolivia in 1795, from a very young age, he enlisted in the armies of General José de San Martín.
Ágreda had fought in the battles of Junin and Ayacucho under Antonio José de Sucre, for which the Grand Marshal rewarded him as commander of the Military College in Chuquisaca.
Later still, he was appointed commander of the Army by Andrés de Santa Cruz, and was considered a national hero for heading the Bolivian forces that routed Argentina at the Battle of Montenegro in 1838.
[1] Later, in the division of General Guillermo Miller, he fought in the battles of Junín and Ayacucho under the command of Antonio José de Sucre.
He only controlled portions of the Army and, moreover, faced the opposition of the venerated members of Congress, with whom he had clashed since they insisted on naming one of their now to the post of Provisional President.