Keir Starmer, who could have extended the term, said it had been "a huge privilege" to work in the role leading the CPS as he confirmed that he will step down as Director of Public Prosecutions.
It has been a huge privilege to have led the CPS for the past four and half years.
I have enjoyed my time very much and I look forward to continuing to work with my colleagues on the important work of the CPS until my term of office ends.
It has been a privilege and a pleasure to work with Keir.
Not just a formidable lawyer, he has brought sound instinct and humanity to his role, noticeably in the guidelines he has published.
He has led the CPS through a difficult time and leaves it as a more professional and more effective service than he found it.
The CPS is now, more than ever, a key partner in the criminal justice system.
In my view he has been one of the most successful directors of recent years.
More top news
Barclays has warned of the impact Brexit, as it revealed pre-tax profits for the first half of the year have dropped 21% to £2.06bn.
Fans who missed out have another chance to see Harry Potter and the Cursed Child as a quarter of a million more tickets go on sale.
The historic Democrat nominee's key message sought to resonate with her opponents as well as her supporters. But it also raised questions.