On March 18, 1840, liberal caudillo Morazán invaded Guatemala with 1500 soldiers to avenge the insult done in Los Altos. Fearing that such action would end with liberal efforts to hold together the Central American Federation, Guatemala had a cordon of guards from the border with El Salvador; without a telegraph service, men ran carrying last-minute messages. With the information from these messengers, Carrera hatched a plan of defense leaving his brother Sotero in charge of troops who presented only slight resistance in the city. Carrera pretended to flee and led his ragtag army to the heights of Aceituno, with few men, few rifles and two old cannons. The city was at the mercy of the army of Morazán, with bells of the twenty churches ringing for divine assistance. Once Morazán reached the capital, he took it easily and freed Guzman, who immediately left for Quetzaltenango to give the news that Carrera was defeated; Carrera then, taking advantage of what his enemies believed, applied a strategy of concentrating fire on the Central Park of the city and also employed surprise attack tactics which caused heavy casualties to the army of Morazán, finally forcing the survivors to fight for their lives. Morazán's soldiers lost the initiative and their previous numerical superiority. Furthermore, in unfamiliar surroundings in the city, they had to fight, carry their dead and care for their wounded while resentful and tired from the long march from El Salvador to Guatemala. Carrera, by then an experienced military man, was able to defeat Morazán thoroughly.