From December 2005 to the 2010 General Election , he was the Shadow Secretary of State for Scotland . Mundell had served as the Shadow Scottish Secretary in the Conservative Party 's Shadow Cabinet in run-up to the 2010 general election .