He became the Minister of State for Transport from June 2009 to May 2010 and when Ed Miliband became leader of the Labor Party , he was made the Shadow Justice Secretary .
Following Gordon Brown 's resignation as leader of the Labor Party he ran Ed Miliband 's successful campaign to become leader of the Labor Party . In October 2010 , he was elected to Shadow Cabinet , and appointed Shadow Secretary of State for Justice in Ed Miliband 's first Shadow Cabinet .