Lahore - Pakistan off spinner Saeed Ajmal Monday announced to retire from all forms of cricket at the end of the ongoing National Twenty20 Cup.

"I am quitting all forms of cricket after the current National Twenty20 Cup," Ajmal said. "It was a highly satisfying career in which I achieved whatever goals I set for myself and helped the team win matches."

He bagged 16 wickets in six matches for Faisalabad, the team he captained in the recently-concluded Quaid-e-Azam Trophy, at an average of 31.06. He won't be featuring in the upcoming season of the Pakistan Super League (PSL) either as he has been appointed as the bowling coach of Islamabad United.

When he does leave, he will do so as one of Pakistan's most successful spinners. Though he made his international debut late, in the 2008 Asia Cup, it was under Misbah-ul-Haq's captaincy, from 2011 onwards, that he became a major all-format force for Pakistan. He ended, ultimately, with 178 wickets from 35 Tests at an average of 28.10; under Misbah, however, he took 141 wickets in just 26 Tests. He played a lead role in a number of Pakistan's early successes under Misbah, not least his 24 wickets in the 3-0 whitewash of England in 2011-12. He was equally important in the white-ball formats , an important part of successful sides until 2011, and almost a solitary burden-bearer in the less successful sides thereafter. He ended with 184 wickets from 113 ODIs at 22.72 and another 85 wickets from 64 T20Is.

But for all the success, there was also the more problematic issue raised by his action. He was reported for an illegal action twice in his international career and it clouded somewhat the sheer potency of his doosra, a delivery he used to devastating effect.

He was reported first in 2009, during an ODI series against Australia in the UAE, though he was cleared soon after. But it was when he was reported in August 2014, at the peak of his powers, that his international career was effectively over. Subsequent tests found that his elbow straightened well beyond 15 degrees when delivering both the off spinner and doosra.

At the time he was banned, he was the No 1 ODI bowler in the world, and in the top ten of both Test and T20 rankings. At that point, nobody had taken more international wickets than him in the preceding three-year period. It was suggested at the time that Pakistan's excessive reliance on him - only one bowler had bowled more overs than him in that three-year period - had worn away his action and made it particularly ragged.

He was able to remodel his action and return but he was never the force that he had been. He played just two ODIs and a single T20I in 2015 after the World Cup, but he was clearly a different bowler and a much reduced force.

He has continued playing domestic cricket, and has been busy with an academy in Faisalabad since then. Until earlier this year, in the run-up to the PSL, he was hoping to use the league to return to international cricket. But he played only four matches for Islamabad United and picked up three expensive wickets. After his retirement, Ajmal will continue with Islamabad United as their spin-bowling coach in the PSL.