Elected to Parliament in 1945, he held ministerial office from 1951, eventually rising to be Foreign Secretary under Prime Minister Anthony Eden from April 1955. His tenure coincided with the Suez Crisis, for which he at first attempted to negotiate a peaceful settlement, before reluctantly assisting with Eden's wish to negotiate collusion with France and Israel as a prelude to military action. He continued as Foreign Secretary under the premiership of Harold Macmillan until July 1960, when he was moved to the job of Chancellor of the Exchequer. In this job he set up the NEDC, but became an increasingly unpopular figure because of the contractionary measures which he felt compelled to take, including the "Pay Pause" of July 1961, culminating in the sensational Liberal victory at the Orpington by-election in March 1962. In July 1962 Macmillan sacked him from the Cabinet, making him the highest-profile casualty in the reshuffle known as the "Night of the Long Knives".