Kim Bo-Kyung headed a stoppage-time equaliser as Cardiff claimed a deserved 2-2 Premier League draw against Manchester United.
After Wayne Rooney had petulantly kicked out at Cardiff midfielder Jordon Mutch after eight minutes, an offence referee Neil Swarbrick deemed worthy of a yellow card when red might have been more appropriate, the England striker duly gave United a 15th-minute lead.
Fraizer Campbell, who struck the crossbar after half-time, levelled matters before David Moyes' men led again as Patrice Evra glanced home Rooney's 45th-minute corner.
But substitute Kim darted in front of the France full-back to produce a similar finish from Peter Whittingham's free-kick in injury time - the midfielder's deliveries having caused United problems all afternoon.
A rapturous Cardiff City Stadium held its breath and then rejoiced as Rooney wasted a late chance to steal the points as Moyes' men finished a frantic weekend of Premier League action in sixth position, seven points behind leaders Arsenal.
Mutch was preferred in the Cardiff midfield to Aron Gunnarsson, with Campbell leading the line against his former club.
Robin van Persie's absence due to a groin injury meant that Javier Hernandez partnered Rooney in attack for United.
Rooney had an effort blocked and Mutch saw his header saved before the two came together in the first-half's early flashpoint.
And the England striker was then, somewhat inevitably, the beneficiary when an error from Cardiff defender Ben Turner resulted in the champions taking a 15th-minute lead.
Turner's loose pass was collected by a rampaging Antonio Valencia and the Ecuador winger's cross was touched on by Hernandez for Rooney to check back and find the net, via a deflection off Gary Medel.
Marouane Fellaini drew a superb save from David Marshall when he headed Adnan Januzaj’s 20th-minute free-kick goalwards, but the young playmaker then erred near his own area, leading to Peter Odemwingie lashing the ball over the crossbar.
Cardiff equalised in the 33rd minute when Whittingham and Mutch combined in midfield and the latter released Campbell for a composed finish.
Campbell, Don Cowie and Whittingham all fired over for the hosts as United laboured in defence of set-pieces, although they demonstrated no such problems attacking them when Evra glanced home Rooney’s left-wing corner on the stroke of the interval.
Rooney's dead-ball deliveries continued to torment Cardiff upon the resumption and Marshall was at full stretch to deny Fellaini before beating away a header from Chris Smalling.
Malky Mackay's team responded once more and Campbell sent an audacious lob against De Gea's crossbar after Tom Cleverley had given away possession, with the rebound narrowly evading Mutch.
United might have earned some breathing space when Rooney headed Valencia’s 59th-minute cross over, while Whittingham sent a first-time effort just wide from distance six minutes later and Cleverley almost diverted a free-kick from the same player into his own net.
Danny Welbeck thrashed wastefully beyond the crossbar 10 minutes from time and the United substitute was made to rue his profligacy when Kim stole in to snatch a share of the spoils, as Cardiff edged three points clear of the relegation zone.
Rooney could still have won it when he latched on to a ball over the top, but his touch was poor.
|28||K. Théophile Catherine||90+3'|
|Coach: M. Mackay|
for P. Odemwingie 65'
for J. Mutch 77'
for F. Campbell 83'
|Ramsey: Covert racism exists in football|
|Newcastle must retain top players to progress, says Elliott|
|Wenger coy over Wilshere return|
|Martinez focused on strong end to Everton´s season|
|Cordoba v Atletico Madrid: Champions aware of danger game|
|Juventus v Empoli: Allegri eyes historic treble|
|Inter v Parma: Jesus calls for fight|
|Palermo v Milan: Paletta urges visitors to keep faith|
|Borussia Dortmund v Bayern Munich: Lewandowski keen to return|
|Eredivisie Preview: Feyenoord out to maintain winning form|
|Everton can finish top four next season - Osman|
|Copa Libertadores Review: Corinthians preserve perfect record|
|Serie A Preview: Lazio hoping to overhaul Roma|
|Bundesliga Preview: Undermanned Bayern set for Dortmund trip|
|Filipe Luis plans to see out Chelsea contract|
|United cannot dwell on Liverpool win - Rooney|
|Bojan: I´ll return better than ever|
|Pique focused ahead of crucial period for Barca|
|Coventry City 0 Leyton Orient 1: Wright´s goal lifts visitors out of relegation zone|
|US senators want Russia removed as 2018 World Cup host|
|Advocaat hoping to see Brown again this season|
|Aubameyang eyes Europa League spot ahead of Bayern test|
|Pique expecting Messi to be fit to face Celta|
|Sterling: I´m not a money-grabber|
|Elche players and staff cancel club commitments|
|Milik makes permanent Ajax switch|
|Ligue 1 Preview: PSG out to extend Classique record against Marseille|
|Real´s Pepe suffers thigh injury|
|League One Preview: Clough not panicking in promotion bid|
|West Ham set to welcome Reid back for Leicester|
|League Two Preview: Johnson begins survival bid with Cheltenham|
|Icardi keen to commit his future to Inter|
|Swansea dealt Carroll injury blow|
|Jardim keen to maintain Monaco´s Ligue 1 surge|
|Debuchy relieved after stepping up Arsenal comeback|
|Championship Preview: Bournemouth ready to unleash Jones at Ipswich|
|Alaba faces seven-week absence|
|West Brom´s Mulumbu wary of tricky run-in|
|Elliott unsure over Carver future|
|UEFA and FIFPro launch third-party ownership complaint|
|Lucas keen for Liverpool return|
|UEFA to investigate disruptions in Georgia|
|Selke swaps Bremen for Leipzig|
|Hurst backs Allardyce amid uncertain future|
|Herrmann pens Gladbach extension|
|Pique calm over Spain defeat|
|Queiroz leaves Iran|
|Hiddink fumes at booing of Iniesta|
|La Liga Preview: Sevilla working on new Emery deal ahead of Bilbao´s visit|
|Santos: Portugal attitude was fine in Cape Verde defeat|
|Bayern face anxious wait over Alaba injury|
|´Title is within reach´ for Marseille - Ocampos|
|Martino hails Argentina performance|
|MLS Preview: DC United, Orlando City battle for top spot|
|Panama 2 Costa Rica 1: Perez, Tejada end visitors´ unbeaten run|
|Kluivert´s Curacao advance to second round|
|Mexico 1 Paraguay 0: Eduardo Herrera´s debut goal secures victory|
|Mexico 1-0 Paraguay: Eduardo Herrera's debut goal secures victory|
|Argentina 2 Ecuador 1: Pastore the hero in Messi´s absence|
|Peru 0 Venezuela 1: Martinez goal settles heated contest|
|Wilmots pleased with Belgium´s response|
|Hodgson satisfied with draw|
|Argentina 2-1 Ecuador: Pastore the hero in Messi's absence|
|Real agree to sign Danilo|
|Turin return evoked ´strong emotions´ for Conte|
|Hiddink looking to build on Spain win|
|Del Bosque frustrated by friendly defeat|
|Bradford City 0 Chesterfield 1: Harrison strike moves visitors into play-off places|
|Portugal 0 Cape Verde 2: Hosts suffer shock friendly defeat|
|Townsend takes swipe at TV pundit Merson|
|Plane issue grounds England squad|
|Israel 0 Belgium 1: Fellaini nets again as Kompany sees red|
|N´Koulou returns to full Marseille training|
|Netherlands 2 Spain 0: Hosts ease pressure on Hiddink|
|Italy 1 England 1: Townsend leveller rescues draw|
|Ghana 1 Mali 1: Sako spot-kick denies Black Stars|
|Luxembourg 1 Turkey 2: Calhanoglu stakes claim with late winner|
|Ghana 1-1 Mali: Sako spot-kick denies Black Stars|
|Italy 1-1 England: Townsend rocket earns draw for Three Lions|
|Rummenigge marvels at ´genius´ Guardiola|
|Switzerland 1 United States 1: Stocker seals draw after Altidore red|
|Young players should not need a break, says Dyche|
|Tottenham acquire final piece of land for new stadium|
|Portugal 0-2 Cape Verde Islands: African minnows claim historic victory|
|Netherlands 2-0 Spain: Rejuvenated Dutch ease pressure on Hiddink|
|Switzerland 1-1 USA: Altidore sent off in friendly draw|
|Palestinian FA speaks out against Israel-Belgium venue selection|
|Valdes enjoying football again after injury nightmare|
|Emotional Cha retires ´a happy man´|
|Dortmund´s Kirch suffers knee injury|
|Newcastle need to be mentally prepared, says Williamson|
|Leno ´knows nothing´ of Real interest|
|Tunisia to compete in AFCON after apology|
|Van der Vaart not allowing future to affect his game|
|Vlaar: Sherwood has reduced stress levels|
|Roma hit by Gervinho hamstring blow|
|Jones optimistic over Everton´s strike partnership|
|Milik sustains knee ligament damage|
|Georgia fear stadium closure for Scotland clash|
|Zamparini: Juventus and Arsenal have bid for Dybala|
|South Korea 1 New Zealand 0: Lee nets late winner|
|Japan 5 Uzbekistan 1: Five-star hosts maintain Halilhodzic start|
|European clubs benefit from UEFA agreement|
|Vassell: Sky is the limit for Kane|
|Manchester United move would be an ´honour´ for Coentrao|
|Insigne out to bolster Napoli season after lay-off|
|Rooney warns Kane over ´clever´ Italy defenders|
|Rangers results reveal £500,000 Newcastle clause|
|Southampton announce £33.4m profit|
|´I am a very flexible man´ - Van Gaal|
|A-League Preview: Top spot up for grabs|
|Portugal - Cape Verde Preview: Andre and Oliveira eager for international bows|
|Puerto Rico 0 Canada 3: Floro´s men rout hosts|
|Xavi denies Al Sadd link|
|Fernando´s life ban upheld by CAS|
|Argentina - Ecuador Preview: Messi remains doubtful for friendly|
|Falcao equals Colombia´s all-time scoring record|
|Macedonia trip good learning curve - Postecoglou|