Andy Flower has left the ECB to pursue other opportunities.

The former England head coach is leaving after 12 years working with elite and emerging players.

He became assistant coach in 2007, head coach in 2009 and since 2014 has been coach of the England Lions.

“It’s been a real privilege to be part of the England cricket set-up,” he said.

“The Ashes victory in 2010-11 stands out. It’s difficult to win in Australia and to do it so comprehensively was a really proud moment in my coaching career.

“It was wonderful to watch those young men take on that challenge successfully and have a great time doing it.

“The win in India in 2012-13 was a highlight too, to overcome some great players in tough spinning conditions was special.

“So was the World T20 win in 2010. The way we played our cricket, with such freedom and aggression, really was fun to be part of.”

Flower is generous in his gratitude to, and praise for, a host of people.

They include Peter Moores, who gave him that first opportunity at England level, and Hugh Morris and Giles Clarke, the MD and Chairman of England cricket respectively, who made him head coach in 2009.

“When people place their trust in you like that it gives you a tremendous sense of confidence and I will always remember that,” he said.

“I’d like to thank the captains I worked with longest, Alastair Cook and Andrew Strauss, for their commitment and friendship over the years.

“It’s been a privilege to work with all the players. Sometimes, in high-pressure environments, as a coach and a mentor you hold a very responsible position.

“You end up sharing some really intimate moments – over a beer in the dressing room, working hard together in the nets, or listening to a personal problem and helping them work through that – and it’s a privilege to be able to contribute and influence these young guys’ lives.”

“We’ve just had a wonderful summer seeing amazing things on a cricket field and there’s been such keen support for the game and the England team – it’s really uplifting to be part of.

“As for the Barmy Army, what an amazing and special bunch of fans. Wherever you go in the world, however you are doing, whether you are thumping Australia in Adelaide or struggling against Bangladesh in Dhaka, they are singing with the same heart.

“That epitomises resilience and spirt and for an England player or staff member it’s a lovely feeling to be supported in that way.”

Ashley Giles, managing director, England men’s cricket, said: “Andy moves on with every best wish from all of us at the ECB for his outstanding contribution to the English game over the last 12 years.

“It has been a pleasure working with Andy, who sets such high standards of professionalism and preparation for the teams he leads. I have no doubt he will enjoy further success in the years to come.

Tom Harrison, chief executive of ECB, said: “Andy Flower leaves a legacy of extraordinary success across his various roles at the ECB. He was instrumental in changing the England men’s fortunes, particularly in the Test team, culminating in reaching the stated ambition of becoming the No.1-ranked Test side in the world in 2011.

“During that time, under his leadership, England claimed the Ashes away in Australia and the World T20 in 2010 - the first time an England men’s team had won an ICC trophy of any kind. It is truly a record to be extremely proud of.

“Andy’s contribution has been immense and it has been a privilege to work with him. He leaves us with the sincere gratitude of all at the ECB, of all England Cricket fans too I am sure. We send him our best wishes for his future.”