He became an MSP in the first elections to the Scottish Parliament in 1999, later holding the positions of Minister for Parliament (1999–2001), Minister for Health and Community Care (2003–2004), and Minister for Finance.