Cricket in Pakistan has a history predating the creation of the country in 1947. The first ever international cricket match in Karachi was held on 22 November 1935 between Sindh and Australian cricket teams. The match was seen by 5,000 Karachiites. Following the independence of Pakistan in 1947, cricket in the country developed rapidly and Pakistan was given Test match status at a meeting of the Imperial Cricket Conference at Lord's in England on 28 July 1952 following recommendation by India, which, being the successor state of the British Raj, did not have to go through such a process. The first captain of the Pakistan national cricket team was Abdul Hafeez Kardar.
The 2010 World T20 was held in West Indies, where Pakistan was able to reach for the semi-final stage. Pakistan, Australia and Bangladesh were in Group A. Pakistan won the first match against Bangladesh by 21 runs. Salman Butt became the hero of the match with his 73 runs from just 46 balls. The second match for Pakistan was with Australia, where Australia won the toss and elected to bat. They scored 191/10 with 49 ball 81 runs by Shane Watson. In this match, final over of Australian innings was bowled by Mohammad Amir. He took a triple-wicket maiden and there were two run-outs, and eventually five wickets fell in the final over of Australia's innings.
Michael Vaughan took over, with players encouraged to express themselves. England won five consecutive Test series prior to facing Australia in the 2005 Ashes series, taking the team to second place in the ICC Test Championship table. During this period England defeated the West Indies home and away, New Zealand, and Bangladesh at home, and South Africa in South Africa. In June 2005, England played its first ever T20 international match, defeating Australia by 100 runs. Later that year, England defeated Australia 2–1 in a thrilling series to regain the Ashes for the first time in 16 years, having lost them in 1989. Following the 2005 Ashes win, the team suffered from a spate of serious injuries to key players such as Vaughan, Giles, Andrew Flintoff and Simon Jones. As a result, the team underwent an enforced period of transition. A 2–0 defeat in Pakistan was followed by two drawn away series with India and Sri Lanka.
After Amir, Asif and Butt were dismissed, Pakistan made Misbah ul Haq the new captain of Pakistan. In subsequent series against South Africa in the UAE he led Pakistan in tests. After resignation of Shahid Afridi as test captain and suspension of Salman Butt due to spot-fixing scandal, Misbah was preferred over Younus Khan, Mohammad Yousuf and Kamran Akmal as captain. Wasim Akram stated that although the decision was surprising, if Misbah bats and fields well everything else will go according to plan.
In August 2016, Pakistan achieved the number 1 ranking in test cricket for the first time since 1988, after Sri Lanka whitewashed Australia. Pakistan displaced India as number 1 after rain caused the final test match between India and West Indies to end in a draw. Pakistan became the 1st Asian team and 2nd team overall to win a day-night test match, which was against the West Indies in Dubai.
Pakistan has played 427 Test matches, winning 137, losing 130 and drawing 160. Pakistan was given Test status on 28 July 1952, following a recommendation by India, and made its Test debut against India at Feroz Shah Kotla Ground, Delhi, in October 1952, with India winning by an innings and 70 runs. In the 1930s and 40s, several Pakistani Test players had played Test cricket for the Indian cricket team before the creation of Pakistan in 1947.
However, from 1968 to 1971 they played 27 consecutive Test matches without defeat, winning 9 and drawing 18 (including the abandoned Test at Melbourne in 1970–71). The sequence began when they drew with Australia at Lord's in the Second Test of the 1968 Ashes series and ended in 1971 when India won the Third Test at The Oval by four wickets. They played 13 Tests with only one defeat immediately beforehand and so played a total of 40 consecutive Tests with only one defeat, dating from their innings victory over the West Indies at The Oval in 1966. During this period they beat New Zealand, India, the West Indies, and Pakistan, and under Ray Illingworth's leadership, regained The Ashes from Australia in 1970–71.