(CNN) -- England bowlers Graeme Swann and James Anderson both grabbed late wickets as their side fought their way back into the first Test on day two against Pakistan in Dubai.
Spinner Swann removed captain Misbah-ul-Haq in the penultimate over of the day before fast bowler James Anderson accounted for Abdur Rehman to leave Pakistan on 288-7 -- a first innings lead of 96.
After a disappointing first day, when they slumped to 192 all out, England stuck to their task in the field and bowled patiently on a good batting wicket.
Resuming on 42-0, Pakistan openers Mohammad Hafeez and Taufeeq Umar took the score onto 114 before Umar was bowled by Stuart Broad.
The tall fast bowler accounted for Azhar Ali soon after, as Pakistan's number three batsman was caught behind by wicketkeeper Matt Prior.
Hafeez was the next to go, as he was trapped LBW by Swann on 88, while Younis Khan was removed in the same fashion by part time swing bowler Jonathan Trott for 37 with the score on 202.
Asad Shafiq was also caught by Prior, this time off the bowling of Anderson as Pakistan made it to 283-5 before England's late double gave them renewed hope of limiting their first innings deficit.
Broad, who took 2-72, told the England and Wales Cricket Board's website: "I think we really earned those wickets late on in the day today.
"Last night I think there were a few batters feeling a bit negative in their room but it is important today that we came to the ground with a positive attitude and knowing that we've been in positions like this before.
"We can look back to Brisbane and Trent Bridge, when we were behind the eight-ball a little bit but bowled really nicely in our first innings then scored big in our second innings batting."
Despite England's improved display, Hafeez said he was still confident Pakistan could win. "Overall we are very happy. We're happy with the effort of the batsmen because credit goes to England," he said.
"We're in a good position because the conditions at the moment have a little bit of turn, as we saw when Swann got some, so I think we're in a good position and can dominate a bit from here."