Foreign relations of Cuba needed oil. Relations between the countries deteriorated rapidly. In April 1961, following air attacks preparing for the Bay of Pigs Invasion by CIA-trained Cuban exiles, prime minister Fidel Castro declared Cuba to be a socialist republic, and moved quickly to develop the growing relations between Cuba and the Soviet Union. In 1962, Cuba was expelled from the Organization of American States. Shortly afterwards, many nations throughout Latin America broke ties with Cuba, leaving the island increasingly isolated in the region and dependent on Soviet trade and cooperation. Following the establishment of diplomatic ties, and after the Cuban missile crisis in
Cuba under Fidel Castro the early years of the administration in a measure to cut homelessness, while nurseries and day-care centers were opened for children and other centers opened for the disabled and elderly. In January 1961, Castro ordered Havana's U.S. Embassy to reduce its 300 staff, suspecting many to be spies. The U.S. responded by ending diplomatic relations, and increasing CIA funding for exiled dissidents; these militants began attacking ships trading with Cuba, and bombed factories, shops, and sugar mills. Both Eisenhower and his successor John F. Kennedy supported a CIA plan to aid a dissident militia, the Democratic Revolutionary Front, to invade