the University of Oxford, Miliband began his working career in the media as a researcher to co-presenter Andrew Rawnsley in the Channel 4 show A Week in Politics. In 1993, Shadow Chief Secretary to the Treasury Harriet Harman approached Rawnsley to recruit Miliband as her policy researcher and speechwriter. At the time, Yvette Cooper also worked for Harman as part of Labour's Shadow Treasury team. In 1994, when Harriet Harman was moved by the newly elected Labour Leader Tony Blair to become Shadow Secretary of State for Employment, Miliband stayed on in the Shadow Treasury team and was promoted to work for Shadow Chancellor Gordon Brown. In 1995, with encouragement from Gordon Brown, Miliband took time out from his job to study at the London School of Economics, where he obtained a master's degree in Economics. After Labour's 1997 landslide victory, Miliband was appointed as a special adviser to Chancellor Gordon Brown from 1997 to 2002. Harvard On 25 July 2002, it was announced that Miliband would take a 12-month unpaid sabbatical from HM Treasury to be a visiting scholar at the Center for European Studies of Harvard University for two semesters. He spent his time at Harvard teaching economics, and stayed there after September 2003 for an additional semester teaching a course titled "What's Left? The Politics of Social Justice". During this time, he was granted "access" to Senator John Kerry and reported to Brown on the presidential hopeful's progress. After Miliband returned to the UK in January 2004 Gordon Brown appointed him Chairman of HM Treasury's Council of Economic Advisers as a replacement for Ed Balls, with specific responsibility for directing the UK's long-term economic planning. Parliament In early 2005, Miliband resigned his advisory role to HM Treasury to stand for election. Kevin Hughes, then the Labour MP for Doncaster North, announced in February of that year that he would be standing down at the next election due to being diagnosed with motor neurone disease. Miliband applied for selection to be the candidate in the safe Labour seat and won, beating off a close challenge from Michael Dugher, then a SPAD to Defence Secretary Geoff Hoon. Gordon Brown visited Doncaster North during the general election campaign to support his former adviser. Miliband was elected on 5 May 2005, with 55.5% of the vote and a majority of 12,656. He made his maiden speech in the House of Commons