Dan Biggar kicked six penalties to steer the Ospreys back from the brink of defeat as they overturned a 13 point deficit to beat Ulster 23-22 at the Liberty Stadium.
The axed Welsh outside half guided the Magners League champions to a much needed victory that keeps them in touch with the top four teams on a weekend when two of them slipped up away from home.
The Scarlets were pipped in Connacht and runaway leaders Munster were overturned in Treviso, so the Ospreys needed to make the most of the weekend by closing the gap on the front runners for the four Play-Offs places on the road to the second Magners League Grand Final on Saturday, 28 May.
The four points looked a long way off after Ian Humphreys had given Ulster a 13-0 lead with two penalties and then a penalty try which he also converted. In much the same way as they had blown away Cardiff Blues on their last visit to Wales, when they ran out 37-15 winners, Ulster scored at almost a point a minute in the opening quarter to create what looked like being a winning platform.
But after that bright opening the Ospreys scrum began to turn the screw and the penalties flowed as the Ospreys finally got their act together.
That allowed Biggar to prove he can still hit the mark with his goalkicking as he landed six out of eight attempts to punish the visitors. One of his penalties was a monster from 55 metres on the stroke of half-time that gave the home side the lead for the first time at 14-13.
As well as Biggar's three penalties the Ospreys also conjured up a corner try for ex-All Black flanker Marty Holah which owed much to the skill and vision of Ashley Beck, who threw a long, cut out pass to create the opening.
Two silly home indiscretions at the start of the second half allowed Pienaar, who took over at outside half from Humphreys when he left the field with a shoulder problem after 31 minutes, to show off his considerable goalkicking skills and Ulster suddenly found themselves five points clear.
But Biggar replied with three more penalties, two for scrum offences, and not even a third strike from Pienaar six minutes from time could claw back the deficit.
Scorers:Ospreys: Try: M Holah; Pens: D Biggar 6. Ulster: Penalty Try; Con: I Humphreys; Pens: R Pienaar 3, I Humphreys 2
After two years in the international wilderness, Adi Taviner is hoping to make up for lost time when she takes part in her second Women's Rugby World Cup which kicks off in Paris next Friday where Wales take on hosts, France.
The WRU's Women and Girls legacy events - #TRY OUR GAME have proved popular this week with current players and newcomers to the game learning new skills and picking up tips from national squad players.
We caught up with Shona and Ellie from the Wales women team ahead of the start of the Women's Rugby World Cup in Paris next month at a recent women's training session to encourage and promote more women and girls to try their hand at rugby. #tryourgame
The Women's Rugby World Cup warm-up clash between Wales and USA proved bittersweet for centre Elen Evans. Despite being one of the star performers on the day on her 50th Test appearance, USA edged home 10-7 at Cross Keys.
Wales completed their Junior World Championship campaign with a victory over Samoa. Team manager Mark Taylor and No 8 James Benjamin reflect on a tournament which saw Wales win three games and lose two.