<Tr> <Td> 2011--2017 Syria, Timber Sycamore <Ul> <Li> view </Li> <Li> talk </Li> <Li> </Li> </Ul> </Td> </Tr> <Ul> <Li> view </Li> <Li> talk </Li> <Li> </Li> </Ul> <P> The Bay of Pigs Invasion (Spanish: Invasión de Playa Girón or Invasión de Bahía de Cochinos or Batalla de Girón) was a failed military invasion of Cuba undertaken by the Central Intelligence Agency (CIA) - sponsored paramilitary group Brigade 2506 on 17 April 1961 . A counter-revolutionary military group (made up of mostly Cuban exiles who traveled to the United States after Castro's takeover, but also of some US military personnel), trained and funded by the CIA, Brigade 2506 fronted the armed wing of the Democratic Revolutionary Front (DRF) and intended to overthrow the increasingly communist government of Fidel Castro . Launched from Guatemala and Nicaragua, the invading force was defeated within three days by the Cuban Revolutionary Armed Forces, under the direct command of Castro . </P> <P> The coup of 1952 led by General Fulgencio Batista, an ally of the United States, against President Carlos Prio, forced Prio into exile to Miami, Florida . Prio's exile was the reason for the 26th July Movement led by Castro . The movement, which did not succeed until after the Cuban Revolution of 31 December 1958, severed the country's formerly strong links with the US after nationalizing American economic assets (banks, oil refineries, sugar and coffee plantations, along with other American owned businesses). </P>

What was the purpose for the bay of pigs invasion