Liverpool 1 Manchester United 2: Gerrard sees red as magnificent Mata double wins it
Steven Gerrard was sensationally sent off just 38 seconds into what will likely be his final Liverpool appearance against Manchester United, as Louis van Gaal's men took a huge step towards UEFA Champions League qualification with a 2-1 win at Anfield.
Long regarded as the biggest game in English football, Sunday's encounter lived up to the billing with goals and excitement at both ends, yet it will be remembered for Gerrard's unceremonious exit.
The Anfield captain was left on the bench by boss Brendan Rodgers before being brought on at half-time, only to be dismissed by referee Martin Atkinson less than a minute after his introduction.
Having contested a full-blooded 50/50 challenge with Ander Herrera, Gerrard saw red for stamping on the leg of the Spaniard, meaning he will now serve a three-match ban that will leave him with just five more Premier League games in a Liverpool shirt ahead of his move from his boyhood club to LA Galaxy.
Earlier, Herrera had set up Mata for the opening goal with a superb pass as United suffocated a Liverpool side who had not lost a league game since their 3-0 reverse at Old Trafford in December.
The visitors' task was made easier in the second half thanks to Gerrard's moment of madness, with Mata subsequently doubling United's advantage with a goal that on another day would likely have stolen the headlines.
He found the net with an acrobatic scissor kick, and Van Gaal's side were on their way to a five-point gap over Liverpool in the race for fourth place.
Daniel Sturridge netted a consolation with Liverpool's first shot on target with 21 minutes left, but the hosts never looked like mounting a comeback and had Simon Mignolet not saved an injury-time penalty from Wayne Rooney, United would have won even more convincingly.
After a cagey start, a moment of brilliance from United broke the deadlock in the 14th minute, as Mata silenced the home fans with a goal at The Kop end.
The Spaniard timed his run to perfection to meet a superb throughball from compatriot Herrera and coolly slotted his shot across the face of goal into the bottom-left corner.
With Gerrard reduced to the role of spectator, Liverpool struggled in midfield, as Joe Allen and Jordan Henderson found it difficult to retain possession.
But for all their dominance, United failed to create any further clear-cut first-half opportunities following the opener and they should have been punished by Adam Lallana in the 35th minute.
The England man was teed up by international colleague Sturridge in the centre of the area but with the goal gaping, he could only turn his shot narrowly wide of David de Gea's post.
Gerrard was thrown into the fray in place of Lallana at the break, but he was soon making his way off the field in ignominy following a rush of blood.
He appeared to win the ball in the initial challenge with Herrera, but then stamped on the United man's leg, leaving Atkinson with little choice but to brandish a red card.
Visiting defender Phil Jones was then lucky to only see yellow for a rash challenge on Henderson, before Angel Di Maria escaped punishment for catching a high clearance on the touchline before the ball had gone out of play.
Liverpool's indignation was furthered when Mata left them with a mountain to climb, producing a stunning scissor-kick finish from Di Maria's lofted pass.
The hosts did rally, and they pulled one back in the 69th minute when De Gea allowed Sturridge's shot from Philippe Coutinho's pass to fly in at his near post.
There was to be no grandstand finish, though, with Rooney denied from the spot by a fine Mignolet stop to his right in injury time after Emre Can had brought down Daley Blind.
Martin Skrtel then caught De Gea with a stamp that sparked unsavoury scenes at the end of a disappointing day for Liverpool, but another memorable renewal of one of England's most famous fixtures.