Hain was re-appointed Shadow Welsh Secretary in Ed Miliband's Shadow Cabinet after Miliband's election as leader in 2010. He was a supporter of the unsuccessful Alternative Vote system in the May 2011 referendum. In May 2012, he announced his retirement from front-line politics.