In the 2006–07 season, after signing Basque José Luis Mendilibar as head coach, Valladolid had one of its best years in history while playing in the second level. The club took the league lead in the 15th matchday and went on to finish with a competition all-time high 88 points, winning the championship by a total margin of eight points, and holding an advantage of 26 points over the non-promotion zone (fourth and below), both being all-time records in the league. Valladolid also achieved the honour of going unbeaten in 29-straight matches, from 10 October 2006 to 6 May 2007, being mathematically promoted after a 2–0 away win against Tenerife on 22 April 2007 (the 34th matchday of the season), the earliest any club has achieved promotion in Spanish history.