 In Nicaragua, Xatruch was named Director of Eastern Highways, by president Tomás Martínez, and he worked building the highways to Mataere, Masatepe and Jinotepe.In 1878, president Pedro Joaquín Chamorro named him Governor of Chinandega and Leon, and that same year, on August 9, he was named Division General of the Nicaragua Army.Xatruch died in Managua, Nicaragua on February 15, 1893, when he was 82 years old.