He spent his childhood and youth in Spain, where he was educated and later participated in the wars against the Napoleonic invasion.
Han tillbringade sin barndom och ungdom i Spanien, där han studerade och senare deltog i kriget mot de invaderande napoleontrupperna.