Real Valladolid's Marc Valiente, center left, and Alvaro Rubio celebrate the club's draw with Real Madrid on Wednesday.
Gonzalo Arroyo Moreno/Getty Images

VALLADOLID, Spain (AP) -- The Spanish league title race took another strange twist when Real Madrid failed to hold a second-half lead and tied 1-1 at Real Valladolid.

After star Cristiano Ronaldo left with an apparent injury in the eighth minute, Sergio Ramos put Real ahead when he scored on a free kick over a defensive wall in the 35th - the defender's fifth goal in four games. But Humberto Osorio tie it on a header off a corner kick in the 86th for Valladolid.

Atletico Madrid (28-4-4), seeking its first league title since 1996, leads defending champion Barcelona (27-5-4) by three points with two games left, with Real Madrid (26-4-5) another point back. All three contenders stumbled last weekend, with Atletico losing, and Real Madrid and Barcelona drawing.

Barcelona would win the title with victories Sunday at Elche and at home against Atletico Madrid on May 17. Atletico hosts Malaga on Sunday, and Real Madrid finishes at Celta Viga on Sunday and home against Espanyol on May 17. The first tiebreaker is head-to-head meetings.

Copyright 2014 Associated Press. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.

SI Apps
We've Got Apps Too
Get expert analysis, unrivaled access, and the award-winning storytelling only SI can provide - from Peter King, Tom Verducci, Lee Jenkins, Seth Davis, and more - delivered straight to you, along with up-to-the-minute news and live scores.