Educated in Valparaíso, Chile, he served in the Peruvian Army during the War of the Pacific (1879–1881).
Dididik di Valparaíso, Chili, ia bertugas di tentara Peru selama Perang Pasifik (1879-1881).