Newport County won through to the final of the FAW Premier Cup after claiming the scalp of Cardiff City in a penalty shoot-out at Ninian Park.
Keeper Glyn Thompson is mobbed after Newport's penalty win
A deadlocked regulation 90 minutes saw the game go into extra time.
Jason Bowen put Newport ahead with a diving header on 113 minutes, but Steve Thompson's rifled equaliser meant the tie would be decided from the spot.
County's Damon Searle was the first to miss but Thompson then shot wide before Jack Carlisle saw his effort saved.
Newport are now guaranteed at least £50,000 for reaching the final, with a possible £100,000 up for grabs if they can overcome either Llanelli or Carmarthen, who meet in their semi-final next Tuesday.
Charlie Griffin should have put Newport ahead with an early chance, but pushed his shot across the Cardiff goal after a good turn had created space.
After that Cardiff - fielding several senior players - took control, as might be expected from a Championship side playing at home against a non-League side from the Conference South.
But a mixture of good keeping from Glyn Thompson and Cardiff profligacy - Thompson, in particular, wasting several good openings - kept the County goal intact.
Newport were still dangerous on the counter, however, with ex-Bluebird Bowen showing his class while Andy Gurney, Craig Hughes and Richard Evans all tested Cardiff keeper David Forde.
It also needed a fine challenge by Bluebirds skipper Darren Purse to deny Julian Alsop as the game heated up in the last 10 minutes of normal time.
At the other end Glyn Thompson had to be at his best to deny Jonathan Brown and namesake Steve Thompson in quick succession.
Extra time followed a similar pattern and the deadlock was finally broken as Searle's fine cross to the back post was rewarded with an even better header from Bowen, hurling himself full length to find the net.
But with Newport scarcely finished celebrating Cardiff hit back, Glenn Loovens' driving run allowing Tyrrell Webbe to lay-off for Thompson to curl home right-footed.
The penalty shoot-out that followed began with eight excellent strikes that gave neither keeper any chance of a save.
But then Searle smacked Newport's fifth spot-kick against the bar, only for Thompson to hurry his following effort and scuff wide Cardiff's chance to take the advantage.
Lee Jarman then made no mistake to heap the pressure on Cardiff youngster Carlisle, whose shot was on target but not good enough to beat County keeper Glyn Thompson.
Cardiff City: David Forde, Aaron Morris, Matthew Smith, Riccardo Scimeca, Darren Purse (capt), Glenn Loovens, Trevor Sinclair, Darcy Blake, Steve Thompson, Jonathan Brown, Tyrrell Webbe.
Subs: Anthony Acheampong, Erwin Sak, Adam Matthews, Jack Carlile, Sam Wade.
Newport County: Glyn Thompson, Steve Jenkins (capt), Damon Searle, Andy Gurney, Lee Jarman, Mark Dodds, Jason Bowen, Lee Fowler, Charlie Griffin, Craig Hughes, Richard Evans.
Subs: James Simpson, Nathan Davies, Julian Alsop, Jermaine Clarke, Scott James.