Pakistan batter Azhar Ali will retire from Test cricket after the final match of the series against England.

The 37-year-old has announced the 97th match of his career in the longest format at the National Stadium in Karachi, which starts on Saturday, will be his last.

Azhar is Pakistan's fifth-highest Test-run scorer with 7,097 at an average of 42.49, making an outstanding 19 hundreds and 35 half-centuries after making his debut in 2010.

The classy right-hander, whose highest score was a magnificent 302 not out against West Indies in 2016, captained his country in nine Tests during two tenures.

Azhar said: "It has been a great honour and privilege for me to represent my country at the highest level. Deciding on when to call it a day is always tough, but, after contemplating deeply, I realised that this is the right time for me to retire from Test cricket.

"There are many people who I am grateful to in this strenuous, yet beautiful journey. I want to make a special mention of my family without whose sacrifices; I would not have been where I am today. My parents, wife, siblings, and children have been my strength throughout.

"I have been blessed to share a dressing room with some of the most outstanding cricketers with whom I share a strong bond. I feel much richer by calling these people my friends. I am also blessed to have played under some wonderful coaches to whom I will always remain grateful.

"I retire from international cricket as a fulfilled cricketer who ticked most of the goals he had set for himself. Not many cricketers go on to lead their countries, and that I was able to captain Pakistan is a matter of great pride for me.

"From being a kid who started as a leg-spinner to becoming a mainstay in the Test batting line-up, I had the loveliest moments of my life that I will cherish forever."