 After landing in Nicaragua, he proclaimed himself as president of Nicaragua and re-instated slavery, which had been abolished.He intended to expand into Costa Rica and after he entered that territory, the country declared war against his forces.Led by Commander in Chief of the Army of Costa Rica, President Juan Rafael Mora Porras, the filibusters were defeated and forced out of the country.