Centuries from Asad Shafiq and Younis Khan have helped Pakistan open up a 12-run lead over England in the second day of the final Test at The Oval.
The pair shared a 150-run partnership for the fourth wicket as the tourists overhauled England's 328, reaching stumps on 340-6.
Dropped on seven, Shafiq made 109, while Younis emerged from his poor run of form to end the second day unbeaten on 101 - his 32nd Test century.
Chris Woakes took two wickets in an over late on but the hosts, 2-1 up in the series, were undermined by three dropped catches from Alex Hales, James Anderson and Steven Finn.