Ulster brought a miserable Magners League season run-in to a satisfactory conclusion on Friday, beating Edinburgh 16-10 at Ravenhill.
Fly-half Paddy Wallace was the catalyst for the home side as he kicked three penalties and converted a try he made with a clever piece of play.
The win was much needed by the home side as they tamely surrendered their defence of the league title with disappointing defeats against Munster and Glasgow.
The home side took the lead after four minutes with a Paddy Wallace penalty following a good break by hooker Rory Best.
Duncan Hodge narrowly failed to level the scores as his drop-goal attempt drifted wide.
Andy Maxwell increased Ulster's lead with a breathtaking try despite the wet conditions.
Paddy Wallace broke out of defence from his own try line after a solid Ulster scrum with full-back Tommy Bowe on his shoulder, Bowe drew the last defender before feeding Maxwell and he raced over from the halfway line with Wallace converting.
Hodge registered Edinburgh's first points with a penalty from the halfway line on the half-hour mark.
Wallace's second penalty from a tight angle gave Ulster a 13-3 lead at the interval, although he saw a 50th-minute penalty come back of the crossbar with the first scoring opportunity in a scrappy opening to the second period.
Edinburgh captain Scott Murray got his side back in the game with a try after 58 minutes.
The visitors forced a series of scrums near the Ulster line, Allister Hogg peeled off from the base and offloaded to the second row who crashed over from close range with Hodge adding the conversion.
Hogg was sin-binned for slowing the ball down but Wallace missed a simple chance from the resulting penalty.
The Irish fly-half made amends with two minutes remaining with his third successful kick from close to the touchline.
Pens: Wallace 3
Yellow card: Hogg (Edinburgh, 63)
Ulster: 15 Tommy Bowe, 14 Paul McKenzie, 13 Andrew Trimble, 12 Paul Steinmetz, 11 Andrew Maxwell, 10 Paddy Wallace, 9 Isaac Boss, 8 Roger Wilson, 7 Neil Best, 6 Stephen Ferris, 5 Tim Barker, 4 Justin Harrison, 3 Simon Best (c), 2 Rory Best, 1 Bryan Young.
Replacements: 16 Nigel Brady, 17 Justin Fitzpatrick, 18 Lewis Stevenson, 19 Neil McMillan, 20 Kieran Campbell, 21 David Humphreys, 22 Darren Cave.
Edinburgh: 15 Ander Monro 14 Lucio Lopez Fleming, 13 Ben Cairns, 12 Rob Dewey, 11 Andrew Turnbull, 10 Duncan Hodge, 9 Greig Laidlaw, 8 Allister Hogg, 7 Ross Rennie, 6 Simon Taylor, 5 Scott Murray (captain), 4 Fergus Pringle, 3 Alasdair Dickinson, 2 Dougie Hall, 1 Allan Jacobsen.
Replacements: 16 Steven Lawrie 17 Geoff Cross 18 Alasdair Strokosch 19 Alan MacDonald 20 Simon Cross 21 John Senio 22 Peter Jorgensen.
Referee: Nigel Owens (WRU)
Touch Judges: J Carvill (IRFU), P Haycock (IRFU).