Mohammad Hafeez has announced his retirement from international cricket, bringing an end to his 18-year career with Pakistan.

“Today I want to formally resign from the magnificent adventure I began 18 years ago with Pakistan cricket,” Hafeez said at a news conference in Lahore, announcing his retirement. “I was proud to represent Pakistan, and whatever role I performed in my 18-year career, I did it with respect. And whether on or off the field, I attempted to fly Pakistan’s flag as high as possible. My career and accomplishments, which were all for Pakistan, have made me extremely pleased and content. So that’s the end of my story.”

Hafeez, 41, just signed with the Lahore Qalandars for the 2018 PSL season and said that he would be available to franchise teams throughout the globe “as long as I am healthy and can contribute with performances.”

After retiring from Test cricket in December 2018, selectors decided to ignore him in ODIs after the 2019 World Cup, when he played his last match of the format against Bangladesh at Lord’s. However, after being dismissed from the T20I squad in 2018, he was returned in 2020 for the home series against Bangladesh, and finished the year with a fantastic run: he was the top run-getter in the format, scoring at an average of 83 and a strike rate of 152. He also finished the year as the sixth-highest run-scorer in all Twenty20s, with the third-highest average and strike rate.

While Hafeez had said that the 2020 T20 World Cup would be his last job for Pakistan, the event was postponed until 2021 because to the Covid-19 outbreak, and Hafeez ended up staying with the country longer.