On the international front, Carazo had to deal mainly with the radical changes in the neighboring country of Nicaragua, which had been under the control of the Somoza dictatorship for decades, whose rule Costa Rica had always opposed. As the Sandinista movement rose in the 1970s, Nicaragua was faced with civil unrest and small armed clashes. Costa Rica's government supported any power against Somoza and so backed backing to the Sandinista insurgents. Many of the battles that took place in the Nicaraguan region bordering Costa Rica spilled onto Costa Rican soil. Carazo's government warned Somoza to stay on his side of the border several times.