He served in the shadow cabinet from 1999 to 2010 and became Shadow Defense Secretary in December 2005 .
After the 2005 general election he was promoted within the Shadow Cabinet to become Shadow Foreign Secretary .