Gosport & Fareham finally chalked up a long-awaited away win in the league with a 26-24 London one south win at Cobham.
The visitors left it late, though, with centre Wayne Dugan crossing for the decisive try with the final play of the game.
His score also secured a vital bonus point for Gosport.
Just when it looked as though the Gosport Park outfit’s misery on the road was about to continue, Dugan finished off a well-worked try.
The victory ends a losing run that has spanned 14 months and 21 days.
‘It was all a bit frantic because the clock was ticking,’ said coach Neil McRoberts.
‘But if you are going to win a game then there is no better time to do it than in the final second.
‘As soon as Wayne Dugan missed the resulting conversion, the referee blew his whistle to end the game.
‘It was absolutely fantastic and I am so proud of the team.
‘We were magnificent from numbers one to 18 and thoroughly deserved the win.
‘Everybody brought their A game, both off the pitch with the way they prepared and on the pitch with the way they played.
‘We turned up in the right frame of mind and started with intensity.’
Gosport were quickest out of the blocks with a seventh-minute try by captain Tim Snowden and two Wayne Dugan penalties.
Cobham showed what they were made of by hitting back with a terrific converted try just before the half-hour mark.
The visitors rallied and went in 16-7 ahead at the break courtesy of a Wes Dugan try.
They increased their advantage at the start of the second half with a Mark Jones score.
The hosts again showed they weren’t prepared to give up and, helped by yellow cards for Chris Thompson and Tom Blackburn, clawed themselves back level at 21 points apiece on the hour mark.
In a nail-biting finale, Cobham led for the first time through a drop goal before Wayne Dugan had the final word.
‘Every game that we’ve played this year we’ve shown at least one facet of being a very good side,’ said McRoberts.
‘It was just a case of putting it all together in an away game.
‘Another huge positive for us is the mental resolve we showed after they pegged us back.
‘We had to do it the hard way after having two players sin-binned but we didn’t panic. Our try at the end is a testament to how good I think this team is.
‘We played with intelligence, commitment and resolve.
‘It’s not just the win but the level of performance and I am over the moon with it.
‘We now feel as if we are picking up some momentum and are brimming with confidence.
‘This should stand us in good stead for the games that are coming up.’