sentences:  As commanding general, he pledged his loyalty to the legitimate president José María Estrada, then in exile in Honduras.However, his forces were defeated in a battle with Walker's troops and they took refuge in Honduras.Shortly thereafter, President Estrada returned from Honduras to Somotillo, Nicaragua where he installed his government.