He was appointed captain of the Pakistan T20 team in May 2012 and vice captain, under Misbah-ul-Haq, of the ODI and Test teams.
During the T20 World Championship in Sri Lanka in September 2012, Pakistan reached the semi-finals where they lost to the home side.