Keir Starmer thanked Ms Gray for ‘all the support she has given me, both in Opposition and Government’.
Sue Gray has quit as Downing Street chief of staff because of fears she was “becoming a distraction” to Keir Starmer’s Government.
There have been reports of tensions in Number 10 involving Ms Gray, including between her and Keir Starmer’s chief adviser, Morgan McSweeney, who will succeed her in the role.