In 1853, at the age of 20, he began to work on the train line that would link the city of Santiago and Valparaíso. During this work he met Mercedes Álvares Pérez, daughter of the owner of the Viña del Mar farm, whom he married on August 8, 1859.
