London: Moeen Ali made Pakistan pay for their latest fielding lapses with a century that saw England fight back on the first day of the fourth Test at The Oval on Thursday.
Ali's 108 was the cornerstone of England's 328 all out.
And there was still time in the three overs before stumps for Stuart Broad to have Sami Aslam lbw for three.
Pakistan ended the day three for one, with both Azhar Ali and nightwatchman Yasir Shah yet to score a run between them.
England, 2-1 up in the four-match series and bidding to become the world's top-ranked Test side, collapsed to 74 for four before lunch after captain Alastair Cook won the toss.
They were still struggling at 110 for five when number seven Ali came in and was promptly hit on the helmet first ball as he tried to evade a Wahab Riaz bouncer.
But Ali, dropped on nine and 15, turned the tide in a fifth-wicket stand of 93 with Jonny Bairstow (55) that followed their key partnership of 152 in England's 141-run win in the third Test at Edgbaston last week.
The off-spinning all-rounder also added 79 in just 86 balls with Chris Woakes (45).
Sohail Khan took five for 68 -- his second five-wicket innings haul in as many Tests -- including a burst of three for six in 13 balls that reduced England to 286 for nine.
At that stage, Ali was still 11 runs shy of a hundred.
Brief scores
England - 328 (Moeen 108, Bairstow 55, Sohail 5-68)
Pakistan - 3 for 1 (Broad 1-2)
Status - Pakistan trail by 325 runs