Babar Azam stepped down as Pakistan's cricket captain on Wednesday, days after a group stage exit from the World Cup.
Azam captained Pakistan in all three formats starting October 2019, and led them to number one in ICC One Day International (ODI) rankings for the first time in May.
Pakistan slid from the spot after finishing fourth in Asia Cup and fifth in the World Cup.
"It's a difficult decision but I feel it is a right time for this call," the 29 year-old wrote on X, formerly known as Twitter.
"I will continue to represent Pakistan as a player in all three formats. I am here to support the new captain and the team with my experience and dedication."
His resignation comes two days after Pakistan bowling coach Morne Morkel stepped down.
Azam is ranked by ICC as a top five batsman in all three formats, and is Pakistan's most successful captain in T20 Internationals with 42 wins.