He was the Prime Minister of the United Kingdom from 1964 to 1970, and again from 1974 to 1976. He was the third Labour leader to become prime minister (after
Ramsay MacDonald and
Clement Attlee). He is one of only three Labour leaders (the others being
Clement Attlee and
Tony Blair) to win a general election since the Second World War (the other two post-war Labour prime ministers,
James Callaghan and
Gordon Brown, only lost general elections).