nicknamed the "Night of the Long Knives". Notably, the emerging Reginald Maudling replaced Selwyn Lloyd as Chancellor, and Lord Kilmuir was replaced as Lord Chancellor by Lord Dilhorne, while Peter Thorneycroft returned to the cabinet as Minister of Defence. Rab Butler was also promoted to the office of First Secretary of State. The reshuffle was controversial within the Conservative Party, and was seen as a betrayal by many. Macmillan's credibility was also affected by the 1963 Profumo affair; he was now in his 69th year, and had until after his 70th birthday to call the next general election. The election of Harold Wilson as Labour Party leader early in the year, following the sudden death of Hugh Gaitskell, was well received by voters, with opinion polls showing the Labour Party ascendant. However, it was still considered a surprise when Macmillan resigned in October 1963. Douglas-Home becomes Prime Minister Macmillan's resignation saw a three-way tussle for the party leadership and premiership. Given that it was not considered appropriate for a Prime Minister to be a member of the House of Lords, the Earl of Home and Lord Hailsham both disclaimed their peerages under the Peerage Act 1963, and became known respectively as Sir Alec Douglas-Home and Quintin Hogg. Rab Butler was also in the running for the post, but Douglas-Home was finally chosen to succeed Macmillan. This was seen as controversial, for it was alleged that Macmillan had pulled strings and used the party's grandees, nicknamed "The Magic Circle", to ensure that Butler was once again overlooked. In the Douglas-Home ministry, Rab Butler became Foreign Secretary, and Henry Brooke replaced Butler as Home Secretary. Reginald Maudling continued as Chancellor, while Quintin Hogg remained as Lord President of the Council and Minister for Sports. He could not continue as Leader of the House of Lords, having ceased to be a member of it, but was made Minister for Education in April 1964. Selwyn Lloyd also returned to the government after a one-year absence, as Leader of the House of Commons. Douglas-Home's government was defeated in the October 1964 general election. He remained party leader until July 1965. The 1957–1964 Conservative government saw several emerging figures who would later attain high office. Future Prime Minister Edward Heath became a member of the cabinet for the first time as Minister of Labour and National Service in 1959, while another future Prime Minister, Margaret Thatcher,