She has held cabinet posts in the Labour governments of Tony Blair and Gordon Brown. Following Brown's resignation as Labour leader on 11 May 2010, Harman was the acting leader of the Labour Party until Ed Miliband was elected on September 25, 2010. Until 2015 she was the Deputy Leader and ex-officio member of the Shadow Cabinet. She was also Shadow Deputy Prime Minister and Shadow Secretary of State for International Development.