Yasir Shah was the unlikely hero with the bat as the leg-spinner hit his maiden Test century against Australia at the Adelaide Oval on Sunday to rescue Pakistan from a precarious position to lift them to a 300-plus score.

When he miscued Josh Hazlewood over mid-on to take the single to get to his 100, Yasir became the second Pakistani after Saqlain Mushtaq to make his maiden first-class century in a Test match.

Twitter obviously had a field day as it sang praises of the Pakistan leggie, who has had a more memorable time with the bat rather than ball in the ongoing Test series. Check them out:

Pakistan were reeling at 89-6 at one point when Yasir Shah joined hands with the classy Babar Azam, who narrowly missed out on a second-consecutive Test century (falling for 97), to put on a 100-run partnership.

He then batted admirably with the tail as the last two wickets put on 108 runs to frustrate the Aussies before Yasir was the last man to fall after scoring a superb 113 in 213 balls with the score at 302. However, it was not enough as Pakistan were asked to follow on by Tim Paine.

Feature image courtesy: AFP/ William West