Paddy Jackson kicked a dramatic late penalty as Ulster came from behind to beat Newport Gwent Dragons 17-15 and go top of Pro12.
The fly-half planted the ball through the posts with three minutes to play at the Kingspan Stadium to edge Ulster ahead for the first time in the match, the hosts scoring 10 points in the second half to win.
A quick start from the visiting Welsh side saw Adam Hughes go over for a 16th-minute try, while Angus O'Brien added two kicks to give the Dragons a 10-0 lead.
Sean Reidy's converted try cut the deficit by the break, but Newport looked good for their lead and when Carl Meyer crossed for their second try six minutes after the restart victory looked on the cards.
Ulster were far from finished, though, and applied pressure to the Dragons defence for the remaining 30 minutes.
A converted penalty try brought them to within one after 52 minutes, but Ulster then saw a Roger Wilson try ruled out for an earlier knock-on before Jackson's 45-metre penalty struck the crossbar.
Luckily for the hosts it did not matter as Jackson kicked his side to a last-gasp triumph.