Afridi had been a fan favourite since he burst onto the scene in 1996, striking a 37-ball century against Sri Lanka in only his second match to set a world record that was unbeaten for 17 years.
He became known as a bowling all-rounder in the second half of his career and was instrumental in Pakistan’s early successes in Twenty20, including their 2009 victory.
Afridi finishes his international career having played just 27 Test matches which yielded 1,176 runs with a highest score of 156 and 48 wickets.