WREXHAM'S woeful run of six successive defeats ended at the Abbey Stadium last night.
An early second-half penalty by stand-in skipper Darren Ferguson set them on their way and although they had to defend with discipline and determination after that they then wrapped up the victory that lifts them off the bottom of the Second Division.
The Red Dragons desperately needed this win and it now gives manager Denis Smith some breathing space to build on team confidence.
Smith made two changes following the costly FA Cup defeat at Hereford.
Kevin Sharp replaced the injured Michael Blackwood on the left and Lee Trundle returned from suspension for the axed Hector Sam up front.
Frenchman Armand One made a clever early run in only the third minute and then Robin Gibson put a good chance wide from Shaun Holmes's long ball into the box.
Wrexham were caught again by Tony Scully's cross but Tom Youngs slipped as he set himself to shoot minutes before Kristian Rogers had to go down to save from David Kitson, who really should have done better.
Wrexham's young 'keeper then did well midway through the first half, claiming Youngs's near-post cross after more good work by Scully.
Rogers rescued back-pedalling Wrexham minutes later as he went in bravely at the feet of One.
But only a goal line clearance by Dean Walling denied Sharp his first goal for Wrexham in the 28th minute after Martyn Chalk and Trundle had combined to set up the chance.
Gibson also had an on-target shot headed away by Steve Angus as Wrexham came more into the picture.
Wrexham replaced defender Keith Hill with Trinidadian international Dennis Lawrence for the second half and he made a dream start.
Trundle powered his way into the box where he went down under a challenge from Walling.
The referee awarded a penalty and Ferguson made it 1-0 from the spot.
Cambridge responded forcefully after that but Lawrence leapt to Ferguson's free-kick and was only just too high with a header.
Lionel Perez, Cambridge's French-born goalkeeper, then made a vital save from tearaway Trundle after he had been played in by Craig Faulconbridge.
Perez then had to be quick to sprint back and keep out an audacious lob from 40 yards by the lively Trundle.
Wrexham added a second goal seven minutes from time when Trundle provided a superb cross from the left that Faulconbridge climbed superbly to, to beat Perez with a well directed header.
Cambridge: Perez, Ashbee, Duncan, Walling, Angus, Flemming, Kitson (Alcide
73), Youngs, Scully, Tudor, One. Subs not used: Warner, Marshall, Goodhind, Ravell. Wrexham: Rogers, Whitley, Hill (Lawrence
46), Roberts, Holmes, Gibson, Chalk, Ferguson, Sharp, Faulconbridge, Trundle. Subs not used: Walsh, Sam, Thomas, Morrell.
LAST NIGHT'S SOCCER
UEFA Champions League Phase Two, Group A
Bayern Munich ......(0) 1 Man Utd ..................(0) 1