The former first minister announced she plans to step down at the 2026 Holyrood election.