Paul Farbrace has resigned as Sri Lanka head coach, leaving him free to become assistant to England's new boss Peter Moores.
Farbrace will leave his job just four months into a two-year contract, and in that time he led Sri Lanka to the Asia Cup and World Twenty20 titles.
Sri Lanka recruited Farbrace from Yorkshire in December last year and lost just one of his 17 games at the helm - and that was against England in the World Twenty20.
And England's next ODI and Test series is against Sri Lanka, starting next month and Farbrace's departure will add spice. His decision to leave for the country of his birth has caused anger in Sri Lanka.
Chief selector Sanath Jayasuriya told the Sunday Times: "We negotiated with Yorkshire and even paid his severance fees before getting Farbrace, who was the second eleven coach there, to become the head coach in Sri Lanka.
"Now that he has made his credentials he has decided to move on without giving us adequate time to make the necessary adjustments. It's not done by Sri Lanka cricket."
A former Kent and Middlesex wicketkeeper, Farbrace has become one of the most sought-after coaches in world cricket in recent years.
When Moores was appointed as England's new head coach on Saturday, it was widely reported that Farbrace would be appointed to become his No 2, but the ECB only confirmed that they were in talks with an individual.
Farbrace subsequently confirmed he had been approached, but admitted he was torn between taking the job with England, and staying with Sri Lanka.
He held talks with the Sri Lanka board on Monday and on Tuesday it was confirmed that he had resigned, leaving him free to join up with Moores and England.
Sri Lanka Cricket secretary Nishantha Ranatunga said: "We had talks with Paul and tried to convince him to stay because of the valuable contribution he has made to Sri Lanka cricket during his short tenure.
"Paul wanted time till today to reach a final decision and he has tended his resignation.
"The (executive committee) will have to sit down and discuss how best we can find a suitable replacement for Farbrace for the tour to England which starts in the first week of May."
Since 2010, Sri Lanka have had a succession of coaches in Bayliss, Stuart Law, Rumesh Ratnayake, Geoff Marsh, Graham Ford and Farbrace.
The ECB has so far declined to comment.