Peruvian Army
He also served in the War of the Pacific as a lieutenant colonel of the Peruvian Army, and was made prisoner by Chile for six months following the Battle of Arica.