Wrist spinner Jan-Berrie Burger gave the United Arab Emirates (UAE) a dose of its own medicine when he bowled Namibia to a 40-run victory on the fourth and last day of the ICC Intercontinental Cup match at the Sharjah Cricket Stadium on Saturday.

Burger, coming in as a first change bowler, finished with figures of 5-81, his career-best figures, as the UAE was spun out for 296 while chasing 337 for victory.

It was Namibia's second successive victory in the tournament which came after it conceded a 60-run first-innings lead. Namibia, which now sits in second place along with Ireland on 34 points, secured 14 points and now faces leader Kenya at the same venue from Tuesday.

For the UAE, it was its second defeat in four matches and leaves it ahead of eighth-placed Bermuda in seventh spot on 23 points after it earned six points from this match.

For Burger, it turned out to be one his most memorable performances after he had contributed 68 and 38 with the bat as well as figures of 2-12 in UAE's first innings which gave him match figures of 32.1-4-93-7.

The UAE, which resumed this morning at 44-2, looked dead and buried when it slumped to 103-6 before the innings was revived by Khurram Khan and Amjad Ali. The two batsmen added 117 runs for the seventh wicket giving the Africans plenty to worry about.

But just as it looked like the UAE might pull off a remarkable victory, Ali fell with the total on 230 after scoring a fine 52 from 89 balls with six boundaries.

Khurram, who had bagged 6-98 on the third day with his left-arm spin, however, kept UAE's slim hopes alive when he carried the score to 258 before he was out lbw to Kola Burger after scoring 97. His career-best knock came off 176 balls and included nine boundaries.

Kola Burger struck again four balls later as 258-8 became 258-9 with the departure of Zahid Shah and defeat starred right in the eyes of the home team.

Ahmed Raza and Fahad Alhashmi managed to take the score to 296 but that was the best the pair could do as Jan-Berrie Burger struck for the fifth and last time in the match to bring Namibia an excellent come-from-behind victory.

Besides Jan-Berrie Burger, Louis Klazinga, who dismissed both the openers on the third evening, finished with 3-56 while Kola Burger bagged 2-50.