He joined the Corps of Engineers and lived in various cities in Spain before settling in Barcelona in 1848 and marrying Clotilde Bosch.
Ia bergabung dengan Korps Insinyur dan tinggal di berbagai kota di Spanyol sebelum akhirnya menetap di Barcelona tahun 1848 dan menikahi Clotilde Bosch.