The England midfielder helped the team end a four-year stretch without a major trophy, giving Madrid its 30th league title.
And, fittingly, Madrid won at the expense of rival FC Barcelona.
Madrid beat Mallorca 3-1 Sunday with an inspiring run characterized by late rallies spurred on by both Beckham and Ruud van Nistelrooy - both former Manchester United players.
Barcelona, which had won the last two titles, beat Gimnastic Tarragona 5-1 on the final day of the season, but Madrid claimed the title on head-to-head results.
Beckham was replaced Sunday before Madrid started it's comeback - it was his substitute, Jose Antonio Reyes, that scored two of the three goals - but the title will always be linked to the England midfielder.
Madrid coach Fabio Capello benched Beckham after the Englishman signed a contract to play for the Los Angeles Galaxy.
But when Beckham finally returned to the lineup weeks later, he scored in a 2-1 win over Real Sociedad. Madrid lost only once in its next 17 games.
"A major fault of mine this season was not recognizing Beckham's potential," Capello said Sunday. "It was the biggest mistake, the most regretting."
Beckham's playing time wasn't the only problem Madrid overcame.
In February, the team was in fourth place, six points behind Barcelona. In early March, Madrid was knocked out of the Champions League in the second round for the third straight year.
And two days after the Champions League exit, defender Roberto Carlos announced he would be leaving at the end of his 10th season. Ronaldo, another Brazilian, had left in January for AC Milan.
But Madrid's turnaround really took off during a league match at Barcelona in March, when an inspired team performance saw Madrid draw 3-3 at the Nou Camp.
After that game, Beckham's crosses were consistently finding their targets, and Madrid went undefeated in the 11 games he played after being reinstated by Capello.
Fans also quickly forgot about Ronaldo as Van Nistelrooy scored 10 times in the last eight games to clinch the Pichichi award for the league's top scorer with 25 goals.
Now, as players and coaching staff take a victory lap to Plaza Cibeles - the customary city-center celebration gathering place - more major trophies will be expected at the Santiago Bernabeu stadium next season despite the exit of Beckham and Roberto Carlos, and perhaps even Capello.
Russian Finance Minister Anton Siluanov announced a possible move that Russia can take in response to new US sanctions
When the bill was submitted to Congress on August 2, the reason for imposing the new sanctions on Russia was based on Russia's alleged interference in the US presidential election in 2016, but then something clicked
The Central Bank of Turkey announced measures to protect the financial market of Turkey against the background of the collapse of the Turkish lira and conflict of interests with the United States of America