Ian Cockbain batted through the last day to lead Gloucestershire to a hugely improbable LV= County Championship draw against Surrey.
- Related Content
The Liverpudlian dug in for 15 minutes short of nine hours for 151 not out, his highest first-class score and only the third century of his career.
Tom Smith, technically a nightwatchman though he was promoted only two places to number seven, also improved his career best with 80 and Will Gidman was unbeaten on 46 as Gloucestershire lost only one wicket on the final day of the Division Two clash to finish 506 for six.
Michael Klinger had shown the way on Wednesday with 120 and Cockbain resumed in the morning on 48.
He faced 35 balls, including playing out four maiden overs, before finally adding two singles to take him to a 189-ball half-century.
Smith, by that point, had hit five boundaries in the morning's play and quickly added another to move into the forties. Having reached 48, he too played out 16 successive dot balls before reaching 50 with a two off Chris Tremlett.
Cockbain pressed on to 83 and Smith 61 as they saw their side to lunch at 368 for five, still 146 runs behind but in a far more encouraging position.
Cockbain reached his century with a two off Jade Dernbach in the sixth over after lunch and the total advanced to 400 two overs later with a single from the same batsman.
Both batsmen then settled for steady progress towards tea, with the only boundaries coming when Surrey captain Gary Wilson turned to the occasional medium pace of Jason Roy in the hope of inducing an error.
Smith's excellent innings was finally ended just before tea, Matt Dunn doing the damage with the new ball as Rory Burns took the catch at third slip. He had faced 221 balls and hit 11 fours.
That put a stop to a magnificent and dogged partnership of 177 and it was 439 for six at tea, Cockbain 126 not out and Will Gidman off the mark with a four.
Another 75 were still needed to overcome the deficit but Cockbain pressed on and Gidman added fresh impetus.
He struck another five fours and reached 28 with a run-a-ball strike rate before settling into a more patient approach against spinners Gareth Batty and Zafar Ansari.
Cockbain barely played a shot in anger at the other end, determined to see his vigil through, and was rewarded when a single off Batty took him to 150 from 419 balls.
The handshake came with Gloucestershire remarkably still eight runs in arrears - but they will care not a jot after a hard-earned five league points.
Surrey earned 12, with three points for bowling their hosts out for 112 on the first morning and four more gathered in their monstrous 626 for six declared.
That innings featured scores of 199 for Burns, 98 for Ansari, 143 for Vikram Solanki and a blistering 121 from 71 balls by Roy, who also snared four wickets in the match having taken only six before in his career.