`SPOT-ON' Hector Sam sent Wrexham into ecstasy with a last-minute penalty winner at London Road.
It was fitting the Trinidadian international was Wrexham's hero, because he did more than anyone to end the jinx that has been haunting them.
Wrexham have surrendered two-goal leads in recent games and they also let slip the lead twice in this game until Sam brought a touch of Caribbean sunshine for manager Denis Smith.
He has been under tremendous pressure of late but said: "Obviously I am delighted to have won. We have been playing well but we have not been getting the results our performances deserved.
"I was beginning to think here we go again, when we twice let our lead slip but we came through in the end to get something we have deserved for some time."
Smith was forced to play a makeshift back-four and also played non-contract goalkeeper, Norwegian Marius Rovde. Rovde at times looked nervous as did his emergency defenders but they improved as the game went on.
Boro forced Wrexham back in the early stages when Rovde reacted superbly keeping out Jimmy Bullard's blockbuster for a corner.
The big lad from Trondhein then went down bravely at the feet of Neale Fenn before set pieces brought goals at both ends in two minutes.
Wrexham drew first blood. Darren Ferguson flung over a corner and top scorer Craig Faulconbridge connected with a good header that centre-back Dennis Lawrence just nicked past goalkeeper Mark Tyler for 1-0.
But Wrexham's lead last barely two minutes, Bullard's inswinging corner some how reached Tom Cowan at the back post and his stooping header wasn't cleared with almost an army of players on the line and crept in for a Posh equaliser.
Wrexham rarely looked composed defensively and a poor header by Lawrence should have been punished but David Farrell lashed the ball wide with only Rovde to beat.
Phillips then slammed a shot that bounced off Tyler and Faulconbridge was agonisingly close with a flashing drive that went just wide of the angle.
Wrexham poured forward and Michael Blackwood had a chance when he nicked the ball away from Tyler but was forced too wide to finish it. Rovde then had to sprint from goal to boot clear when it looked as if Phillips' back-pass was under hit.
But Wrexham's most dangerous player was undoubtedly Sam and more good work by him got Faulconbridge away but his cross into the box was poor.
Smith was quick to Wrexham's dressing room at half time, no doubt to give his makeshift back four the benefit of his experience. But even he was astonished by Wrexham's quickfire start to the second half.
They regained the lead 15 seconds after the restart when Blackwood blasted home an unstoppable shot after a clever, thoughtful move.
Peterborough boss, Barry Fry is never slow to react to situations and made an immediate double substitution to pep-up his side but Ferguson's vision got Faulconbridge in with a chance but Tyler pushed hit shot into the side netting.
Nervous goalkeeping by Rovde also gave Andy Edwards a chance but he put it over and Wrexham also escaped after Lawrence sliced a clearance from substitute Howard Forinton.
Wrexham believe they were robbed of a penalty when Sam went down in a heap from Edwards' challenge soon after Tyler had brilliantly stopped a drive from Blackwood.
But Wrexham's glaring inability to hang onto a lead surfaced yet again. Substitute Francis Green had time and space to smash home an equaliser with 20 minutes left.
But Wrexham stuck to their guns and then came spot-on Sam.
The striker hammered home a last-minute winner from the a penalty after Peterborough's Forinton had handled inside the area.