Calderón went into exile in Nicaragua, and in December 1948 he invaded Costa Rica with support from the government of Nicaraguan dictator Anastasio Somoza García, but the expedition - known as the counterrevolution - failed.