After graduating from the University of Oviedo in 1807, he moved to Madrid, where he joined the army.
Tras licenciarse na Universidade de Oviedo en 1807, trasladouse a Madrid, ingresando no exército.