A stubborn half-century from captain Jamie Dalrymple ensured Glamorgan earned a draw on the final day of the LV County Championship clash against Surrey at the Swalec Stadium.

Glamorgan had gone into the final day on 136 for four in their first innings needing a further 83 to avoid the follow-on.

But as soon as the Welsh county had managed that the game was destined to be a draw, with 144 overs lost to rain on the first two days.

Glamorgan were all out for 271 with Jade Dernbach recording figures of six for 82 to give Surrey a 97-run lead.

But the draw was confirmed when the players shook hands at 4.50pm after Surrey declared on 82 for three. Surrey took 11 points from the match while Glamorgan earned nine.

Glamorgan's fifth-wicket duo of Dalrymple and Ben Wright survived the first hour of play in the bid to bat past the follow-on figure.

The pair dealt well with Dernbach and Andre Nel but the introduction of Australian debutant Ryan Harris got the breakthrough as Wright was caught behind, ending a 62-run partnership.

The Glamorgan captain was unfazed by the loss as he went on to make his half-century from 114 balls, while Mark Wallace registered a batting point as he took the score to 200.

Only four were needed to avoid the follow-on when Wallace edged behind to give Dernbach his fourth wicket. It was left to James Harris to get the necessary runs with a cover drive.

But on the stroke of lunch Harris was caught at slip and Glamorgan were reduced to 224 for seven.

After that a draw became the only realistic result but that did not stop Surrey making further inroads as Mark Butcher, in his first match for more than a year after recovering from a knee injury, took two good catches to remove Harris and Robert Croft. The second one gave Dernbach his fifth wicket.

And it was Dernbach who claimed the key wicket of Dalrymple who was caught on the third man boundary.

That left Glamorgan 238 for nine but a breezy last-wicket partnership of 33 between Garnett Kruger and Adam Shantry ensured their side registered a second batting point.

Butcher took a third catch to claim the last wicket to give Surrey a 97-run lead on first innings.

Surrey used their second innings for some useful batting practice, especially for Butcher and Mark Ramprakash, who scored his 105th career century in the first innings, as they added 56 for the third wicket.

Ramprakash was out just before the end, caught and bowled by Robert Croft.