Nicola Sturgeon has been speaking in the Scottish parliament for the last time as First Minister.
She was given a standing ovation as she listed some of her achievements – and said holding the post for the last eight years had been the privilege of her life.