 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 . Dugher would later become an MP in 2010 . 
