 When Juan Lindo was president, Xatruch was elected representative to the National Congress and participated in the approval of the third Constitution of Honduras in 1848.In 1850, he participated in an armed engagement supporting José Santos Guardiola.He moved to Nicaragua, along with his brother Pedro, who was eventually promoted to general also.