The outgoing Prime Minister was supported by (most) of his Labour colleagues.