Andrew Strauss was appointed England and Wales Cricket Board (ECB) director of cricket even as Peter Moores, the coach of the national team under whom England have had a dismal summer, "left his role" on Saturday (May 9).
Moores's resignation followed private conversations with Tom Harrison, chief executive of the ECB, and Strauss, according to a statement from the board.
"Peter is a man of great integrity and has offered a huge amount to England cricket," said Harrison afterwards. "He is admired by the players, his colleagues at the ECB and right across the game and deserves both our deep thanks and the widest recognition for his commitment and contribution.
"The last year has been a period of transition and rebuilding in which Peter has nurtured new talent, developed new players and laid the foundations for the new coaching structure to build on. This decision has been made as we focus on the future and our need to build the right approach and deliver success over the next five years within a new performance structure."
Moores's second stint in charge lasted barely a year since he was brought back in 2014 following England's 5-0 Ashes defeat in Australia, which led to Andy Flower stepping down. Under Moores, England were knocked out of the 2015 World Cup early and then failed to beat West Indies in a three-Test series recently.
"At the moment it's difficult to put into words how I feel except to say how disappointed I am in the way my term as England Coach has ended. I will walk away knowing I've given my all to the role and always put the team at the front of any decision making," said Moores.
"I believe time will show that I have been instrumental in the identification and development of a new group of England players who will go on and bring honour and success to the England badge. I am a passionate Englishman who believes in hard work and an investment in the right people will bring its rewards.
"My record in developing players stands for itself and though we have had some frustrations along the way I am confident that this team will go on and bring the success the supporters desperately want to see.
"I knew when I took on the role that this was going to be a tough period for English cricket and I would need time and support to get new players through. My frustration is not being given that time. To the players I want to say thanks for your support and commitment and I will be gutted not to work with every single one of you going forward. I wish you all the very best for the future."
Paul Farbrace, England's assistant coach, will take charge of the team for the upcoming Test series against New Zealand at home.
Strauss, twice an Ashes-winning captain, was the overwhelming favourite to land the post of director of cricket, a job created by the ECB last month following Paul Downton's removal as managing director.
"Andrew's breadth of ideas, his passion for England cricket, and his proven leadership skills shone out," said Harrison, who managed the recruitment process. "He was an exceptional England captain, is an authoritative voice on the modern game and has a wealth of experience building successful teams.
"Andrew is also widely respected across the sporting landscape. We're delighted he's joining us at the ECB as we set out to create a new strategy for the game."
Strauss is expected to oversee the performance of the national team, the development programmes and the selection process.