Zak Crawley hit his maiden Test century as he combined with Jos Buttler to help England end the opening day of the series finale against Pakistan firmly on top.
Going into the third Test holding a 1-0 lead after rain ruined the previous encounter in Southampton, the home side were teetering when 127-4 midway through Friday's play.
However, Pakistan were unable to get another breakthrough in the remainder of proceedings, Crawley finishing up unbeaten on 171 as England progressed to 332-4 by the close.
The 22-year-old, who has made just three hundreds for Kent in his first-class career, shared an unbroken stand worth 205 with Jos Buttler, who will resume on the second morning on 87 not out.
The stunning fifth-wicket alliance completely changed the complexion of proceedings, as well as vindicating the decison by captain Joe Root to bat first.
Crawley had arrived at the crease midway through the fifth over after Rory Burns fell cheaply again, the left-handed opener edging Shaheen Afridi through to Shan Masood in the slips when on six.
Dom Sibley (22) helped add 61 for the second wicket but also departed before lunch, given out lbw to leg-spinner Yasir Shah following a successful review by Pakistan.
Naseem Shah produced a sublime delivery to end a promising start for Root (29), while Ollie Pope's decision to play back to Yasir resulted in his downfall, bowled for three to leave the hosts in a spot of bother.
But, as was the case in the first Test in Manchester when his 75 helped England recover from 127-5 to reach a victory target of 277, Buttler emphatically tipped the balance in his side's favour.
The wicketkeeper-batsman will hope to reach three figures for a second time in the format on Saturday, while batting partner Crawley has a double ton in his sights.
Having been stuck at tea on 97, he made it to three figures with a drive on the up through the covers and, impressively, continued to pile on the runs after reaching the landmark, Pakistan becoming increasingly ragged as not even a second new ball helped them find a late breakthrough.
Crawley blooms at Rose Bowl
Had Ben Stokes not departed the bio-secure bubble on the south coast for family reasons, Crawley may not have featured in the series. He made the most of his chance in the second Test, making 53 on the final day of a game that was always going to end in a draw.
Now the right-hander has compiled a career-best score that has surely cemented him in the number three position for the foreseeable future.
Buttler shows his class
After runs in the opener against Pakistan – he also made 38 in England’s first innings in Manchester – Buttler continued his upturn in form, demonstrating just why team management are so keen to have him in the XI.
His defensive technique was solid when challenged by the seam bowlers and he always looked comfortable against Yasir, including hitting him for a pair of straight sixes in an over that went for 16.