Full-back Dan Evans scored twice as the improving Ospreys celebrated a 32-18 PRO14 bonus-point victory over Leinster at the Liberty Stadium.
It was the first time Ospreys had beaten the Irish province in their last five attempts.
Ospreys' tries came through Evans (two), Tom Habberfield and Justin Tipuric, with Dan Biggar kicking 12 points. Leinster's two tries were scored by Barry Daly and Rory O'Loughlin.
Tipuric was featuring in his final Ospreys game before joining the Wales Sevens squad ahead of the Commonwealth Games in Australia.
He was one of Wales' six NatWest 6 Nations players reintegrated into the region's match-day squad along with Dan Biggar, Bradley Davies, Alun Wyn Jones, Nicky Smith and Owen Watkin.
Ireland Grand Slam winner Joey Carbery returned at full-back for Leinster along with scrum-half Luke McGrath, who was making a comeback from a knee injury.
Ospreys produced a generally positive first half that saw them lead 19-8 at the break.
But it was Leinster who opened the scoring on eight minutes with a penalty for outside-half Ross Byrne.
Ospreys have shown signs of improvement under interim coach Allan Clarke in recent weeks and they produced a fine try on 14 minutes with Evans going over after good build-up work from Davies, Tupuric and Hanno Dirksen. Biggar converted.
And nine minutes later Evans was over again thanks to a fine pass out of the back door from centre Kieron Fonotia. Biggar failed with the conversion, but Ospreys opened up a 12-3 lead.
That became 19-3 two minutes before half-time after Habberfield latched on to Ashley Beck's pass after the centre had burst into the 22. Biggar converted.
But Leinster made sure they were still in the contest going into the interval when Daly went over in the left corner latching on to Sean Cronin's kick ahead. Byrne missed the conversion.
Leinster suffered in the injury department, seeing Fergus McFadden, Noel Reid and Reid's replacement Dave Kearney forced to leave the field in the first period.
Ospreys made a positive start to the second half and secured the bonus-point try on 50 minutes when Tipuric went over after good build-up play from Beck and Fonotia.
Leinster refused to lie down and came back with a try for O'Loughlin and a penalty from Carbery which cut Ospreys' lead to eight points on 58 minutes.
However, a Biggar penalty four minutes later eased the pressure.
A fine defensive performance in the final quarter ensured no more scares for the Ospreys, with Biggar adding an injury-time penalty.