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'
|Sessegnon signs with Montpellier|
|Rakitic delighted with form|
|Gameiro: I could have joined Barcelona|
|Stones talks up Celtic quality|
|Liverpool good enough to win title - Houllier|
|Klopp happy with Firmino in central role|
|Watford got bullied all over the pitch - Deeney|
|Nuno keen for Porto to end England misery|
|Legia boss Magiera set for whirlwind debut|
|´Terrific´ Burnley delight Dyche|
|Burnley 2 Watford 0: Landmark goals for Hendrick and Keane seal first win in four|
|Schmidt lauds hitman Hernandez|
|Klopp not banking on Liverpool winning title|
|Kroos plays down Ronaldo rage rumours|
|Confidence coursing through Copenhagen|
|Madrid form draws no concern for Zidane|
|Burki looking forward to ´dream´ Madrid clash|
|Juve and Higuain have work to do - Allegri|
|CSKA boss Slutski wary of Tottenham threat|
|Pochettino: Kane to return within three weeks|
|City youngster Diaz signs three-year deal|
|Aurier vows to ´continue working hard´ for PSG despite prison sentence|
|Tuchel expecting Ronaldo on top form|
|Ter Stegen eyes new Barcelona deal|
|Hazard: No excuse for Arsenal defeat|
|Cisse back in training with Auxerre|
|Hummels resumes training ahead of Atletico clash|
|Facing Barcelona´s MSN not a nightmare, insists Bravo|
|Thiago: Atletico defence best in the world|
|Alonso wants to end career at Bayern Munich|
|Ranieri went to Slimani for Porto advice|
|Draxler: Wolfsburg blocked my exit|
|Samoura defends abolishment of racism task force|
|Sampaoli backs Nasri for France recall|
|Gisdol ´twitching with joy´ at Hamburg presentation|
|Zanetti determined Inter will return to the top|
|Getafe sack Esnaider|
|Bartra happy with playing time at Dortmund|
|Aurier handed two-month prison sentence over police altercation|
|Klopp attributes Lallana´s fine form to hard work|
|Totti´s wife slams ´small man´ Spalletti|
|Guardiola has already done an amazing job at Manchester City - Alonso|
|Referees attacked by hooligans in Bosnia and Herzegovina|
|Griezmann: I am not the anti-Benzema|
|Sterling hails Guardiola´s role in goalscoring form|
|Champions League Matchday Two: Madrid look for first win in Dortmund|
|Smalling confident Rooney will bounce back|
|Vardy fears ´permanent stain against my name´ following casino incident|
|Brave Wilshere will reap rewards of loan move - Howe|
|MLS Review: Sounders surprise Galaxy, Kamara double sinks New England|
|Walcott a special case - Wenger|
|Guardiola striving for more after perfect 10|
|Chelsea risk another mid-table finish, admits Conte|
|Montella feels AC Milan lacked courage|
|Robben speaks out on injury fears|
|Fiorentina 0 AC Milan 0: Ilicic misses penalty on Montella´s return|
|Gisdol replaces Labbadia at Hamburg|
|Ibrahimovic threatened me over Pogba deal - Raiola|
|Balotelli could make Nice return against Krasnodar|
|Southampton deserved to win – Bilic|
|Podolski takes aim at Mourinho over Schweinsteiger treatment|
|Atletico midfielder Augusto suffers ACL injury|
|Sagna: More to Aguero than goals|
|Errors are urgent matter for Schalke - Weinzierl|
|Puel delighted with sublime Southampton second half|
|Simeone praises ´decisive´ Gameiro|
|Noble: West Ham can´t get any worse|
|Pjanic: I will play wherever Allegri needs me|
|West Ham 0 Southampton 3: Defensive woes pile pressure on Bilic|
|Kondogbia makes the same mistakes often – De Boer|
|Gray backed by Dyche after ban for abusive social media posts|
|Gabriel needs time to get used to Serie A - Ausilio|
|Atletico Madrid´s Gimenez and Augusto doubts for Bayern Munich clash|
|Atletico Madrid 1 Deportivo La Coruna 0: Griezmann downs 10-man Depor|
|Angry Spalletti slams Roma players´ attitude|
|Liverpool have unbelievable quality - Milner|
|Simeone´s son Giovanni scores first Serie A goal|
|Ivanovic: Chelsea let Conte down|
|Inter 1 Bologna 1: Battling Bologna end Inter streak|
|Guardiola: Top-four finish very tough for Man City|
|Rodgers expecting tough test against City and Aguero|
|Zamparini admits Balotelli interested Palermo|
|Former Swansea, Arsenal great Mel Charles dies|
|Asamoah, Rugani ruled out for up to seven weeks|
|Totti reaches 250 Serie A goals in Roma defeat|
|Alves makes LaLiga history as Valencia see off Leganes|
|Guardiola rues De Bruyne injury as Man City await scan|
|Las Palmas draw could prove costly, admits Morata|
|Gabriel explains choosing Inter over Juventus|
|Hamburg dismiss Labbadia|
|West Ham players expect Payet´s free-kick magic - Antonio|
|Man City must tell Guardiola to stop, says Toure´s agent|
|Hamsik thrilled to reach 100 Napoli goals|
|Zabaleta warns Man City over Celtic backlash|
|MLS Review: Red Bulls, Toronto into play-offs|
|´We were unlucky´ - Bale|
|Guardiola keen for Spurs test|
|Rodgers: I never fell out with Sterling|
|Wenger hails ´different´ Walcott|
|Mazzarri backs Deeney for England call-up|
|Mamelodi Sundowns and Zamalek reach CAF Champions League final|