She is to remain on as an MSP until 2021.