Sri Lanka interim coach Stuart Law is to take over as Bangladesh coach following the end of Sri Lanka's tour of England as the successor to compatriot Jamie Siddons.
Law was appointed as Sri Lanka's coach for the tour of England following Trevor Bayliss's decision to step down following the 2011 World Cup, where Sri Lanka ended as runners-up to India.
However, Law told Bangladesh newspaper Prothom Alo that Sri Lanka Cricket (SLC) were not ready to commit to retaining his services beyond the summer.
"I only need to put pen to paper," he said. "I have finalised it so the Bangladesh Cricket Board (BCB) can tell you.
"I asked SLC if they would want me to continue after November but they couldn't confirm anything so I told them that I won't continue after the UK tour. The most important thing for me is job security.
"I just have to go back to Sri Lanka to sort out a few things and after I spend some time with my family, I will join the Bangladesh team. I'm not sure if it'll be two weeks or ten days before the tour to Zimbabwe."
Bangladesh Cricket Board (BCB) media committee chief Jalal Yunus announced at a press conference that Law will sign a two-year contract with the Tigers, who hosted the 2011 World Cup but failed to progress past the group stages.
"Law has been appointed as the head coach of Bangladesh cricket team for a two-year period effective from July 1," Yunus said.
"We were in constant touch with Law since May, but he needed a clearance from his present employer Sri Lanka.
"He has got this confirmation recently and already signed an agreement that we sent to him."
Law played 54 One-Day Internationals and one Test match in a distinguished career that saw him play domestic cricket for Queensland, Derbyshire, Essex and Lancashire.
© Cricket World 2011