London:Hundreds from Jonathan Trott and Stuart Broad saw England enjoy an extraordinary reversal of fortune in the fourth and final Test against Pakistan at Lord's on Friday.
England, who had slumped to 47 for five in the face of fine swing bowling from left-armer Mohammad Aamer, ended the second day on 346 for seven as they looked to finish the series 3-1 winners.
Trott was 149 not out and Broad, whose century was his first in Test cricket, 125 not out.
Their unbroken stand of 244 -- made after they'd come together at 102 for seven -- was an England record for the eighth wicket against Pakistan, topping the 119 shared by Matt Prior and Broad at The Oval in last week's defeat.
"It's an amazing feeling, the atmosphere was fantastic," said Broad.
"We said when I joined Trotty out there it was just important to have a clear plan of making five at a time, get to 105, 110 and just build from there. That took the emphasis off what the pitch was doing."
Earlier, Aamer ripped through England's top order on his way to career-best figures of six wickets for 73 runs in 23 overs.
That saw the 18-year-old, in his 14th match at this level, become the youngest bowler to take 50 Test wickets.
"It was special, the best figures of my career that's why I am happy but I am a little bit bad sad too," Aamer told reporters.
"We were in a good position but now we are on the back foot."
Trott's century, his second at Lord's after his 226 against Bangladesh in May and third of his 13-Test career following the 119 he made on debut against Australia at The Oval last year, was a model of application.
England resumed on 39 for one, with Trott eight not out, in overcast conditions after bad weather meant only 12.3 overs were possible Thursday.
South Africa-born Trott could only watch from the other end as Aamer reduced England to 39 for four with a burst of three wickets for no runs in five balls.
Kevin Pietersen, Paul Collingwood and Eoin Morgan -- England's Nos 4, 5 and 6 respectively -- were all dismissed by Aamer for nought.
It wasn't until Trott square-drove and cover-drove Mohammad Asif for fours off the day's 16th and 17th balls that England had their first runs Friday.
England were 97 for five at lunch but they were soon 102 for seven as Aamer took two wickets in three balls to dismiss Matt Prior and Graeme Swann.
But Broad, who like his father Chris, the former England opener, is a left-handed batsman, gave stylish support to Trott.
Several of the seamer's cover-drives under the floodlights were worthy of a top order strokemaker and Broad, primarily a batsman during his school days, also hooked Aamer for six.
Trott, 77 not out at tea, completed his century with a quick single that became a five after four overthrows from Imran Farhat.
The 29-year-old got to the landmark after facing 195 balls with 13 boundaries in nearly five hours at the crease.
Broad, in his 32nd Test, followed him to a century with a three off left-arm quick Wahab Riaz, having faced 159 balls with a six and nine fours.
His is now the highest Test hundred by an England No 9 and only the third in all after Gubby Allen, against New Zealand in 1931, and John Murray, against the West Indies, in 1966.
And it was far in excess of Broad's previous Test-best score of 76, also at Lord's, against South Africa in 2008.
All of Chris Broad's six Test hundreds were made overseas and Stuart said: "He's not on the (Lord's honours) board so it's pretty pleasing, I'll certainly be on the phone to him."
Broad did not give a chance until he'd made 121 when he edged off-spinner Saeed Ajmal only for Yasir Hameed at slip to drop a diving catch.
He was given out lbw to Ajmal on 122 by New Zealand umpire Tony Hill but Broad successfully referred the decision, with replays indicating the ball would have slid past leg-stump.