Real Madrid moved up to third in La Liga after late goals from Casemiro and Luka Modric defeated Sevilla.
The two sides had not played out a draw since 1993 but the game looked to be heading for that outcome as Real spurned several chances to score in a game they dominated.
But, with less than 15 minutes remaining, Casemiro opened the scoring with a stunning long-range effort.
Modric then raced clear in injury time to make sure of the points.
The win meant Real Madrid leapfrogged their opponents in the table, moving them to within two points of city rivals Atletico Madrid, who are second.
While the win strengthened Real Madrid's bid for a Champions League place a title challenge remains a tough ask with leaders Barcelona eight points clear of Los Blancos with a game in hand.