|Hafeez missed his ton but laid the platform for a solid Pakistan lead [GETTY]
Off-spinner Graeme Swann trapped Pakistan skipper Misbah-ul Haq in the penultimate over of the second day to help England fight back in the second Test in Dubai on Wednesday.
Misbah's 13th half-century - his 11th in 13 Tests as captain - had kept Pakistan in a good position after openers Mohammad Hafeez had made 88 and Taufiq Umar 58 on a slow turning Dubai Stadium pitch.
But Swann trapped Misbah in front with a sharp incoming delivery and had the not out decision by New Zealand umpire Billy Bowden overturned by the Decision Review System (DRS) to boost England's cause.
Misbah had put on a valuable 52 runs for the sixth wicket with wicket-keeper batsman Adnan Akmal, who was unbeaten on a gritty 24.
James Anderson ended the day on a high note for his team when he bowled Abdul Rehman (four) in the last over to leave Pakistan at 288-7 at the close, a lead of 96 over England's first innings total of 192.
Misbah's wicket has seemingly brought England back in the match. The Pakistani skipper had hit five boundaries during his 154-ball knock.
England paceman Stuart Broad said his team deserved wickets at the end.
"We deserved those wickets," said Broad.
"It was Swann's decision to take the DRS because we had two and it's no use keeping them in the hat, so we got that crucial wicket and now need to bowl them out quickly and score big second time."
Hafeez agreed Misbah's wicket was crucial.
"Misbah's wicket was costly, but we are still in a strong position and with the ball turning we still have a good chance in this match," said the opener.
Before Misbah, Pakistan lost the crucial wicket of Younis Khan (37) on the stroke of tea when the experienced batsman offered no stroke to part-timer Jonathan Trott's incoming delivery and was adjudged leg-before.
England took the second new ball and Anderson's first over with it brought the downfall of Asad Shafiq (16) to leave Pakistan at 231-5, in danger of being dismissed for a small lead.
England 1st innings 192
(M Prior 70, G Swann 34; S Ajmal 7-55)
Pakistan 1st innings
M Hafeez lbw b Swann 88
T Umar b Broad 58
A Ali c Prior b Broad 1
Y Khan lbw b Trott 37
M-ul Haq lbw b Swann 52
A Shafiq c Prior b Anderson 16
A Akmal not out 24
A Rehman b Anderson 4
Total: (for seven wkts) 288
Fall of wickets: 1-114 (Umar), 2-128 (Ali), 3-176 (Hafeez), 4-202 (Younis),
5-231 (Shafiq), 6-283 (Misbah), 7-288 (Rehman)
Bowling: Anderson 23.3-7-57-2, Tremlett 20-6-48-0 (nb1), Broad 26-6-72-2
(nb1), Swann 27-3-89-2, Trott 8-2-16-1
It was paceman Broad who gave England the breakthrough in the morning session after the Pakistani openers, resuming at 42-0, played out the first 90 minutes without being separated.
Broad bowled Umar with a beautiful delivery which held its line and hit the off-stump, just one ball after Chris Tremlett dropped Hafeez off a miscued hook which resulted in a single.
Umar hit ten boundaries in his 58 and was sedate during his 113-ball stay at the crease.
Three overs later, Broad swung one away from Azhar Ali and had him caught behind by wicket-keeper Matt Prior, much to the jubilation of his team-mates. Ali made just one.
England, who were poor against off-spinner Saeed Ajmal (7-55) on day one, were well short of their best in fielding.
Ian Bell failed to hit the stumps when Hafeez, batting on 44, ran for a single after pushing Tremlett to square-leg and was well short of his crease after being sent back by Umar.
Pietersen also dropped Adnan on nine off Tremlett to cap another tough day for the world's number one Test team, who have only won on two occasions after conceding the lead in a Test in the sub-continent -- both against Pakistan in 1961 and 2000.
It was Umar who reached his fifty first, hitting Swann for two consecutive boundaries to complete his 13th Test half-century. Hafeez reached his seventh with a single off Tremlett.
Swann finally dismissed Hafeez with a full pitched delivery as the batsmen missed a sweep.
Hafeez hit eleven boundaries and a six during his solid 164-ball knock.
Swann, who took 2-89, failed to trouble the batsmen like Ajmal did on Tuesday but his late wicket brought England back in the match. Broad and Anderson also had two wickets apiece.