Pakistan recovered thanks to a defiant stand from Fakhar Zaman and captain Sarfraz Ahmed and then Mohammad Abbas took two cheap Australia wickets to even the honours.

Spinner Nathan Lyon triggered a Pakistan collapse as he took four wickets in six deliveries. Debutant Zaman and captain Sarfraz Ahmed posted 94 runs each to rescue Pakistan from 57-5 to end at 282 all out.

Paceman Abbas then put Pakistan on top by dismissing Usman Khawaja for 3 and nightwatchman Peter Siddle as Australia limped to 20-2.