Question: Whar did Sarfraz Ahmed do after Azhar Ali stepped down?

Context paragraphs:
Jamia Naeemia: Jamia Naeemia is an Islamic University in Lahore associated with the Sunni Barelvi movement.  It was founded by Mufti Muhammad Husain Naeemi, father of Sarfraz Ahmed Naeemi.  It serves as largest Sunni institution for the Barelvi movement in Pakistan.

Quetta Gladiators in 2016: The Quetta Gladiators is a franchise cricket team that represents Quetta in the Pakistan Super League.  They are one of the five teams that had a competition in the 2016 Pakistan Super League.  The team was captained by Sarfraz Ahmed, and they stand on second position after winning four matches from their eight matches in the PSL 2016.  They finished runners-up after losing the final against Islamabad United.  Ahmed Shehzad with 290 runs from 10 matches was team's leading run scorer while Mohammad Nawaz with 13 wickets from 10 matches was the leading wicket taker for the team.  They won runners-up prize money of US$ 200,000.

Sarfraz Ahmed: Sarfraz Ahmed (Urdu: ‎ ; born 22 May 1987) is a wicketkeeper- batsman who plays international cricket for Pakistan and is also the current captain of the Pakistan cricket team in all 3 formats of the game.  In addition to his captaincy duties, he led Pakistan to Champions Trophy glory in June 2017.  Sarfraz was named as Pakistan's Twenty20 International captain following the 2016 ICC World Twenty20 in India, while he was named Pakistan's ODI Captain on February 9, 2017 after Azhar Ali stepped down.  He took up the Test captaincy mantle for his team following the retirement of Misbah-ul-Haq and became the 32nd Test captain of the Pakistan Cricket Team doing so.

Jamia Naeemia Lahore: Jamia Naeemia Lahore is an Islamic University in Lahore associated with the Sunni Barelvi movement.  It was founded by Mufti Muhammad Husain Naeemi, father of Sarfraz Ahmed Naeemi.  It serves as largest Sunni institution for the Barelvi movement in Pakistan.

Tun Ali of Malacca: Bendahara Sri Nara Diraja Tun Ali was the fourth bendahara, or prime minister of the Malaccan Sultanate.  He was the penghulu bendahari of Malacca before becoming bendahara.  He had allegedly conspired to assassinate the Hindu sultan of Malacca, Raja Sri Parameswara Dewa Shah.  According to other sources, Tun Ali and his nephew, Raja Kassim was conspiring to murder Raja Rokan who was disliked by palace officials.  It was said that during the attack, Raja Rokan who was with Sri Parameswara stabbed the king in retaliation to an attacker stabbing Raja Rokan.  Tun Ali and Raja Kassim was unsuccessful to save the king.  Tun Ali then installed Raja Kassim as the monarch of Malacca who took the title Sultan Muzaffar Shah.  Tun Ali stepped down in 1446 upon the advice of Sultan Muzaffar in favour of Bendahara Paduka Raja Tun Perak.  The sultan divorced his wife, Tun Kudu, who was the younger sister of Tun Perak to be married with Tun Ali.

Mian Kifait Ali: Major Mian Kifait Ali (July 1902 – 1 December 1994) was a pioneer of the Pakistan movement, his masterpiece book ""Confederacy of India"" published in 1939, under the pen name "A Punjabi" was the first to deal with political, economic and administrative aspects of Pakistan.  He was amongst the first to respond to the call of Pakistan sounded by Muhammad Iqbal in 1930 (Qutote from Chaudhry Muhammad Ali, Prime Minister of Pakistan), Dr. Khursheed kamal aziz Pakistan's official historian) has described this book as "the most comprehensive and far reaching scheme aimed at furthering and elaborating the idea of Pakistan.  Waheed uz-Zaman wrote in his book, "Pakistan", Lahore, 1964, P. 168, "The book was taken into consideration by the Muslim league, while preparing the Lahore resolution and the fact the solution proposed in the confederacy of India" differed but little from the proposed by the Muslim League in March 1940.  The venear of a Confederacy, which was the main theme of his scheme, could anytime be set aside and the remainder would have precisely... Pakistan.  So scholarly and so cogent was his reasoning that men like Dr.Rajendra Prasad felt compelled to join issues with him in his books, ("Pakistan"(Bombay and Calcutta, September 1940), p 34; see also his book ""India Divided"" page 180-181).  The book was reviewed in leading newspapers and journals.  Comparatively more scholarly appraisal was in the "Tarjaman-ul-Quran" of Maulana Abul Ala Maududi.  According to Mian Kifait Ali "The idea was suggested to me by the late Choudhary Rahmat Ali's writings and I developmed it to an extent to which no one had done earlier (Letter to Dr. K.K, September 5, 1968)".  Ali also stated that originally it was proposed to publish the book under the title of "Pakistan" a typed manuscript which bore this page title was sent to the press.  Soon after he received a telegraphic message from the Muhammad Ali Jinnah that book should not appear under the pen name of "Pakistan".  It was to comply with the Quaid's directive he prepared a federal scheme and was incorporated in the introduction of the book.  Thus the book was titled as "Confederacy of India".  (Nation article, 23 December 1994 by Sarfraz Hussain Mirza, ""Confederacy of India by A Punjabi"", also in Daily Times, Cam Diary, ""Pak history in Leichester"", and article by V.P Bhatia ""'Jinnah was against the name 'Pakistan' at First"".  It was in recognition of this work of Mian Kifait Ali that he was invited to work on the committee presided over by Sir Abdullah Haroon set up in February 1940 to examine the various schemes of constitutional reforms for India and to see whether a consolidated scheme can finally be framed.  His book has been referred to as the most comprehensive schemes at demystifying and detailing the ideas regarding the inception of Pakistan, quite a lot has been written about him and his work.  Mian Kifait Ali has done "pioneering work in the evolution of Muslim political thoughts and has suffered the hardship of a pioneer… when an objective appraisal of Muslim political movement is made by the historian.  He will find an honourable place among the pioneers and selfless workers in this great field of Muslim reconstruction (Quoted by Governor Punjab, Mushtaq Ahmed Gurmani).  Famous independence-era personalities such as Abul Ala Maududi, Chaudhry Muhammad Ali, Dr. Rajendra Prasad, Vengalil Krishnan Krishna Menon, and Sardar V. Patel took issue with him.  He responded in several pamphlets.

2016 Pakistan Cup: The 2016 Pakistan Cup was a five-team one-day cricket tournament based on a draft system.  It started on 19 April in Faisalabad and included teams from the country's four provinces and a Federal Capital side.  Sarfraz Ahmed, Shoaib Malik, Younis Khan, Azhar Ali and Misbah-Ul-Haq led the sides from Sindh, Punjab, Khyber Pakhtunkhwa, Balochistan and Islamabad.  Khyber Pakhtunkhwa won the tournament after defeating Punjab in the final by 151 runs.

Azhar Ali: Domestically, he has played for Khan Research Laboratories, Lahore, Lahore Eagles, Lahore Lions, Lahore Qalandars, Pakistan A and Huntly (Scotland) during his career.  He was the captain of Lahore Qalandars in the first edition of the Pakistan Super League.

Sarfraz Ahmed Naeemi: Mufti Sarfraz Ahmed Naeemi Shaheed, (Urdu: ‎ ), (16 February 1948 – 12 June 2009) was a leading Sunni Islamic cleric from Pakistan who was well known for his moderate and anti-terrorist views.  He was killed in a suicide bombing in Jamia Naeemia Lahore, Lahore, Pakistan on 12 June 2009, after publicly denouncing the Tehrik-i-Taliban's terrorist actions and ideologies as unislamic.

Quetta Gladiators in 2017: The Quetta Gladiators is a franchise cricket team that represents Quetta in the Pakistan Super League.  They are one of the five teams that had a competition in the 2017 Pakistan Super League.  The team was captained by Sarfraz Ahmed, and they stand on second position after winning four matches from their eight matches in the PSL 2017.  They finished runners-up for the second time after losing the final against Peshawar Zalmi.

Supporting paragraphs: Sarfraz Ahmed Azhar Ali
Answer: He took up the Test captaincy