 De Fossa was born in Perpignan, the capital of Pyrénées-Orientales in southern France along the border with Spain.At age 17, he joined an army regiment, the Légion de Pyrénées, which fought the revolutionary government in France.for most of his life, he remained an army officer, also travelling to Mexico in the 1790s in this function.