Following Labour's third consecutive election victory in May 2005, he was promoted to the Cabinet as Minister of State for Communities and Local Government within the Office of the Deputy Prime Minister.
On 5 May 2006 following the local elections Tony Blair made a major cabinet reshuffle in which Miliband replaced Margaret Beckett as Secretary of State for Environment, Food and Rural Affairs [REF].