Dragons were edge out at the death as Ulster claimed a 34-30 victory to keep their hopes of a top-eight finish in the BKT United Rugby Championship alive.
The Men of Gwent pushed Ulster to the edge in Newport and it could have been a famous win if not for Scott Wilson's late solo try.
The hosts held a 24-14 lead at half-time as Aneurin Owen, Huw Anderson and Rhodri Williams all crossed, while James Hume and Rob Herring responded for Ulster.
Herring, who was also sent to the sin-bin in the first half, grabbed his second try after the restart but the boot of Will Reed kept the Dragons in front.
However, replacement prop Wilson stole the ball at a ruck in the Dragons 22 and powered over to score with nine minutes remaining, and John Cooney's late conversion and penalty securing the win.
Click below for all the match highlights...