She served as a Member of the Scottish Parliament (MSP) in the first four sessions of the Parliament (1999-2016).
She was initially elected from the Mid Scotland and Fife regional list 1999-2007, then as the constituency MSP for Central Fife 2007-11, which was renamed Mid Fife and Glenrothes 2011-16.
She was elected to Parliament as a member of the Scottish National Party (SNP), but she suspended her membership in 2011 upon her election as the 4th Presiding Officer, following the tradition that the Presiding Officer is nonpartisan.
She did not rejoin the SNP when she stepped down as an MSP.