Kennedy's strategy of flexible response, managed by Defense Secretary Robert McNamara, was aimed to reduce the possibility of war by miscalculation. His administration resulted in the peaceful resolution of the Cuban Missile Crisis and refrained from further escalation of the Berlin Crisis of 1961. However, Kennedy's policies also led to implementing the Bay of Pigs invasion and escalation of the Vietnam War.