Kyle Lafferty's 94th-minute goal has given 10-man Northern Ireland a 1-1 draw against Hungary in their Euro 2016 Group F qualifier at Windsor Park, a result that keeps Michael O'Neill's side top of the group but still not through to next year's finals in France.
Balazs Dzsudzsak was responsible for the first concrete chance of the game as his effort from 20 yards whizzed just wide of the right post.
The hosts, however, countered through Chris Brunt as his free kick from just outside the box soared into danger but was smartly plucked out of the air by Gabor Kiraly.
Oliver Norwood was next to challenge the Hungary goalkeeper through another set piece, but the 25th-minute free kick from long range was confidently thwarted by the ex-Crystal Palace stopper.
Hungary remained tight at the back despite Northern Ireland finding their feet as the match went on, and the first half ended with both sides all square.
Northern Ireland were quickest off the starting blocks after the restart as Gareth McAuley leapt above the defence near the penalty spot and sent a header goalwards from a free kick, but Kiraly was equal to it.
The visitors then countered through Zoltan Gera, who displayed good awareness near the penalty spot to get on the end of a cross from the free kick, but this sailed wide of the post.
Bernd Storck's charges enjoyed a dangerous spell but the pendulum swung the hosts' way as Jonny Evans headed just over the bar five minutes before the hour, before Norwood's long-range drive two minutes later was saved.
Gera then fashioned a dangerous chance in the 67th minute when he collected a pinpoint pass and lashed a ferocious drive from long range which edged just wide of the left post.
Hungary's increased pressure soon paid dividends for the visitors 74 minutes in when goalkeeper Michael McGovern miscued a clearance to gift the ball to Richard Guzmics, who had the simple task of bundling the ball home from close range.
It went from bad to worse for Northern Ireland when Chris Baird was shown two yellow cards in the space of a minute for two challenges in quick succession late on, reducing the hosts to 10 men.
However, there was to be solace and relief for the Windsor Park outfit when Lafferty stabbed the ball into the back of the net from a corner to level the scores right at the death.
The result keeps the Green and White Army at the top of Group F on 17 points as second-placed Romania stuttered to a goalless draw against bottom side Greece, while Hungary remain third.