The government also began plans on creating a defense force to fight off any Somoza attempt to attack Costa Rican territory. The attacks finally ended in 1979 once the Sandinistas took control of the country, and Somoza was exiled. The government received a strong backlash from the public, and the opposition claimed that Carazo had failed to protect Costa Rica's sovereignty. Further, Carazo's government allowed three US helicopters to touch down on national soil to facilitate Somoza's escape from Nicaragua. That sent the President's critics on a political bashing rampage, calling the matter a disrespect to national sovereignty. Later, in 1982, the Central American Democratic Community was formed in San José with US backing. Its aim was to isolate Nicaragua from the rest of Central America as long as they had a Communist regime in power. Another big move was in 1981, when Carazo's government broke off all diplomatic ties with Fidel Castro's Cuba.