What was the purpose of the Bay of Pigs invasion?

A. to remove Soviet missiles from Cuba

B. to protect U.S. citizens in Cuba

C. to support the regime of Fulgencio Batista

D. to overthrow Fidel Castro

The answer is D this question is for anyone who needs the answer.