With the help of his influential uncle entered the Spanish army as lieutenant of the regiment of Savoy .
In 1812 he transferred to the front of Valencia, led by General Joaquín Blake, and sent a column of 4,000 veterans grenadiers (the "column The Sea").