He served as a Labour MP (1950–55; 1959–77). As Secretary of State for Education and Science (1964–67) his strongly held libertarian and egalitarian principles led to the closure of grammar schools, the establishment of a comprehensive state school system, and the growth of polytechnics. During 1965–70 and 1974–77 he held several cabinet posts, and was Foreign Secretary before his early death.