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'
|Guardiola warns Man City stars: If you´re not fit, danger is coming|
|Mkhitaryan prepares to prove himself at United|
|Cavani: No pressure replacing Ibrahimovic|
|Wenger vows to keep transfer plans ´secret´ after Lacazette snub|
|Brannagan open to Championship loan move|
|Wenger wants to sign Mertesacker replacement|
|Ancelotti: Bayern´s transfer business done|
|Brisbane Roar sign former Danish international Kristensen|
|Verratti, Luiz missing for PSG|
|Sounders part ways with foundation coach Schmid|
|Mane turned down Manchester United for Liverpool|
|Zidane on Pogba: Until August 31, anything can happen|
|Mkhitaryan driven by father´s death|
|Inter rejected Napoli offer for Icardi, says president|
|Clichy: City fighting fit after Guardiola pizza ban|
|Everton and Burnley win as Hull are held|
|Ajax held by PAOK after Cillessen howler|
|Conte left frustrated by ´crazy´ money in transfer market|
|Neymar makes Barcelona case to Gabriel Jesus|
|Rostov comeback twice for Champions League draw with Anderlecht.|
|Arsenal defender Mertesacker set for lengthy lay-off|
|Conte not selling ´fantastic´ Matic|
|Ibrahimovic keen on MLS and Beckham´s Miami project|
|Neymar: I play for Messi, he´s the man|
|Barcelona reveal details of Andre Gomes deal|
|Suarez bullish over Barcelona prospects|
|Ajax claim Napoli keen on Milik to replace Higuain|
|Totti labels Higuain´s Juventus move ´a disaster´|
|Juventus confirm Higuain deal|
|Pato to Villarreal ´in the final stage´|
|PSG sign Lo Celso|
|Muller: Beating Dortmund will be more fun this season|
|Juventus sign Higuain from Napoli for €90m|
|Pastore: I´m like God in Paris|
|Injured Lanzini out of Olympics|
|Allegri unperturbed by Higuain fee|
|Menezes replaces Bento at Cruzeiro|
|Sporting rejected major bids from Inter and Liverpool for Joao Mario, claims father|
|Pochettino pleased by Tottenham despite Juventus defeat|
|Eriksson: Allardyce the right man for England|
|Mourinho makes United train after stepping off plane from China|
|Hazard can still match Messi, says Pedro|
|Pjanic shows there is life at Juve, with or without Pogba|
|Juventus 2 Tottenham 1: Benatia bags win for Serie A champions|
|Dembele: I am not the Bundesliga´s next superstar|
|Lyon claim €35m Arsenal offer for Lacazette rejected|
|Donnarumma dreaming of Milan captaincy as he eyes long-term stay|
|Robson: Ibrahimovic can match Van Persie´s first year at United|
|Rooney should remain England captain - Eriksson|
|Emery wants new striker at PSG|
|Santos accept Juventus bid for Gabriel|
|Eriksson expects Sweden to try and tempt Ibrahimovic out of retirement|
|Spurs signing Janssen almost quit|
|Leicester stay best for Mahrez - Ranieri|
|Allardyce to take Mourinho cue on Rooney|
|Ings ready to outdo big-money signings|
|Henderson optimistic over Liverpool campaign|
|Allardyce hardened to the challenge of England post|
|Barcelona announce record revenues for 2015-16|
|Moyes enjoys Sunderland win as Palace beat Colchester|
|Stoke complete Allen signing|
|Roma coach Spalletti warns suitors off Manolas|
|Cresswell out for up to four months with knee injury|
|Burnley fan banned by club for racist abuse|
|Dad won´t let me play at the Olympics - Larsson Sr pulls rank|
|Kostic joins Hamburg on five-year deal|
|Tevez: I´d turn down Chelsea and Napoli to stay at Boca|
|Mayoral inspired by Benzema for Wolfsburg stint|
|Allardyce straight into competitive action with England|
|Liverpool, Sevilla fined for Europa League final incidents|
|Barcelona seal Guillemenot signing as part of new Servette deal|
|Niersbach handed one-year ban over World Cup corruption|
|Chelsea and Everton ´still interested´ as Koulibaly eyes Napoli exit|
|´Still working hard´ - Balotelli trains with Liverpool kids|
|Winter breaks, long-ball football and the World Cup: Allardyce in his own words|
|Inter warn Napoli Icardi is not for sale|
|Zanetti wants Simeone back at Inter|
|Stoke snap up Sobhi|
|PSG tougher under Emery - Lucas Moura|
|Totti not ready for retirement - Pallotta|
|Confident Allardyce reveals plan for England success|
|Pochettino to discard three Tottenham players|
|Allardyce: Rooney must wait for captaincy decision|
|Aubameyang: I will only leave Dortmund for Real Madrid|
|Allegri silences questions on Pogba|
|Bruce stands by decision to quit Hull City|
|Pochettino: Not the right time for Argentina job|
|Inter yet to approach De Boer with Mancini exit rumoured|
|Ancelotti trusts me more than Guardiola - Ribery|
|Wijnaldum rejected Everton for Klopp|
|Pre-season Manchester derby cancelled|
|Coutinho excited by ´fast´ Liverpool recruits|
|Cristiano Ronaldo and Conor McGregor step into the ring together|
|Mancini coy on reports linking Icardi to Napoli|
|Nolito reveals why he chose Man City over Barcelona|
|Inter 1 Paris Saint-Germain 3: Icardi absence in defeat fuels Napoli talk|