Pakistan stubbornly extended its first innings in the morning to 338 for a lead of 146, then before lunch began dismantling England in its second innings for 160 in 58 overs.

"Nobody would have expected such a victory against the world No. 1 team," Pakistan captain Misbah-ul-Haq said. "Obviously we were not expecting it will finish so early, but I guess all the credit goes to Umar Gul and Saeed Ajmal for bowling superbly."

Gul's aggressive bowling for 4-63, coupled with some shocking shot selection by the Englishmen, left Pakistan with only 15 runs to win the opening Test of the three-match series, and opener Mohammad Hafeez hit three boundaries in collecting them all.

It was England's first defeat since losing to Australia in the Ashes Test at Perth in 2010. England had won seven of nine since then.

Pakistan extended its unbeaten run in Tests to eight since May, including six victories.

"This is not the time for us to be worrying about the No. 1 ranking or anything like that," England captain Andrew Strauss said. "What we need to do is make sure we don't play this type of cricket in the next Test match and that is what our focus is on.

"We won't be panicking and will come back strongly. We did not react to the conditions here."

Offspinner Ajmal, who grabbed a career-best 7-55 in England's first innings score of 192, added three more wickets to be named man of the match. It was his second career match haul of 10 wickets.

Abdur Rehman showed England why they should have included left-arm spinner Monty Panesar with 3-37, and narrowly missed a hat trick.

After Adnan Akmal's gutsy half-century stretched Pakistan's first-innings lead to 146, Gul had England on the mat by tea at 75-5, claiming three wickets.

Gul reduced England to 16-1 at lunch when Strauss was adjudged caught behind off a leg-side delivery after TV umpire Steve Davis upheld onfield umpire Billy Bowden's decision.

Opener Alastair Cook (5) and Kevin Pietersen (0) departed from attempting shocking pull shots against Gul.

In his second spell, Gul found a thick outside edge of topscorer Jonathan Trott, who attempted an expansive cover drive to try to reach a half-century. Trott was out for 49 off 111 balls.

Ajmal undid Ian Bell for 4 with his doosra. The batsman halfheartedly called for a review but started walking back after watching the replay on the big screen at Dubai International Cricket Stadium with the ball striking his back leg in front of the stumps.

Rehman struck just before tea when Eoin Morgan on 14 got a faint edge to the wicketkeeper, and was on a hat trick when he dismissed Stuart Broad (17) and Chris Tremlett (0) off successive deliveries with England still 11 runs shy of making Pakistan bat again.

Graeme Swann (39) and James Anderson (15) ensured England did not lose by an innings with a 25-run last wicket stand before Ajmal wrapped up the innings by finding the leading edge of Swann's bat and Asad Shafiq making a low catch and roll at short cover.

Pakistan resumed overnight at 288-7 and thanks to the diminutive Akmal hitting 61 with eight fours, frustrated England for an hour and a quarter.

Akmal lost Gul for a duck when he hit Broad in only the second over of the day to Morgan at point.

Akmal gathered a precious 30 runs with Ajmal before Swann had the latter caught close to the wicket for 12.

The last-wicket stand of 19 — all made by Akmal — added to England's frustration as the Pakistan wicketkeeper-batsman kept the strike from No. 11 Aizaz Cheema for four overs.

Akmal played some extravagant strokes that included two reverse swept boundaries off Swann. He brought up his second Test half-century with a similar stroke for two runs and pumped his fist in joy while raising his bat toward his teammates in the dressing room.

Swann finally closed Pakistan's first innings when Akmal went out of the crease but missed the line and was stumped by Prior down the legside. Swann ended with 4-107 while Broad claimed 3-84.

The second Test begins at Abu Dhabi on Jan. 25, and the teams return to Dubai for the last Test from Feb. 3.