Off-spinner Dilruwan Perera finished with five wickets to help Sri Lanka beat Pakistan by 68 runs in the second Test in Dubai on Tuesday and take the series 2-0. Perera had figures of 5-98 as Pakistan, chasing a tough 317 to win, were bowled out for 248 in the second hour of fifth and final day at Dubai stadium. Asad Shafiq fought hard during his 112-run knock - his 11th Test hundred - and together with his captain Sarfraz Ahmed (68) added 173 for the sixth wicket. But once their partnership was broken Sri Lanka, having <a href="http://www.thenational.ae/sport/cricket/sri-lanka-s-herath-proves-to-be-modern-day-hero-in-abu-dhabi-cricket-test-bereft-of-superstars-1.663488">already won the first Test by 21 runs in Abu Dhabi</a>, quickly closed in on the victory. This is Pakistan's first series defeat at their adopted home of UAE in seven years. They had won five of the previous nine, with four drawn. Pakistan were forced to play in the neutral venues of the UAE following the deadly terrorist attack on the Sri Lankan team in Lahore in 2009. This is also Pakistan's first home defeat since losing to South Africa 1-0 in 2007, a series held on their grounds, and only the second whitewash in their history. They previously suffered a 3-0 defeat against Australia, a series also played at neutral venues in Colombo and UAE in 2002. <strong>______________</strong> <strong>Read more</strong> <strong>Day 1 report: <a href="https://www.thenational.ae/sport/cricket/karunarante-century-sets-up-sri-lanka-against-pakistan-on-day-1-in-dubai-1.664773">Karunarante century sets up Sri Lanka in Dubai</a></strong> <strong>Day 2 report: <a href="https://www.thenational.ae/sport/cricket/wahab-riaz-loses-his-groove-in-dubai-as-pakistan-face-an-uphill-task-to-keep-unbeaten-record-in-uae-in-tact-1.665024">Pakistan's uphill task to keep UAE record in tact</a></strong> <strong>Day 3 report: <a href="https://www.thenational.ae/sport/cricket/wahab-riaz-goes-from-zero-to-hero-in-dubai-as-spell-pulls-pakistan-back-into-test-1.665508">Wahab regains his groove in the second innings</a></strong> <strong>Day 4 report: <a href="https://www.thenational.ae/sport/cricket/pakistan-s-asad-shafiq-returns-to-form-to-keep-hopes-alive-of-winning-dubai-test-1.665820">Shafiq's return to form gives Pakistan hope</a></strong> <strong>______________</strong> Shafiq was the ninth man out when he edged paceman Suranga Lakmal to slip where Kusal Mendis took a low diving catch to end all Pakistan's hopes of an upset win. Shafiq's 253-minute knock had 10 boundaries but he again failed to help Pakistan cross the line, just like his 137 in the lost cause against Australia at Brisbane last year. Pakistan had looked to the overnight partnership of Shafiq and Sarfraz to guide them to the winning target after resuming at 198-5, needing another 119 for victory. Both Shafiq and Sarfraz had lucky escapes but Perera finally broke the resistance when Sarfraz was caught off a miscued sweep at deep fine leg by Nuwan Pradeep. Sarfraz hit five boundaries during his 130-ball knock. Shafiq brought up his hundred with a paddled sweep single off Perera and was reprived on the same score when Dimuth Karunaratne dropped a low catch of the same bowler. Perera then completed his five-wicket haul when he trapped Mohammed Amir - unable to bowl in the second innings with a shin injury - leg before for four, bringing Sri Lanka within three wickets of victory. Yasir Shah was cleaned up by Rangana Herath while the victory was brought up when Herath had No 10 Wahab Riaz caught gleefully by captain Dinesh Chandimal for 1. Sri Lanka had gained a decisive 220-run lead by scoring 482 in the first innings on the back of Karunaratne's career best 196 and then bowled Pakistan out for 262. The two teams will now play a five-match one-day series followed by three Twenty20 internationals, the last of which is scheduled for Lahore on October 29.