The party is just beginning in Madrid.

Spain substitute Ferran Torres scored in the 106th minute to give his team a 1-0 win over defending champion Argentina in the World Cup final.

“I just want to lift that Cup and press it really hard. This is a dream of 47 million people who were on this pitch today, so I think we all deserved this and we broke our back,” Torres said.

Spain coach Luis de la Fuente is already looking to the future.

“We are world champions. I am very proud, very happy for my players,” de la Fuente said through an interpreter. “We closed a very important chapter. … This team has a long way to go. We are already thinking what is coming next.”

RELATED: Watch Messi walk off the pitch for potentially the final time

Shortly after the match ended, Argentina star Lionel Messi was sitting on the field as Spain players celebrated. He then got up when 19-year-old Spain forward Lamine Yamal approached him and they shared a handshake and a hug.

As the final seconds ticked away on Messi’s and Argentina’s World Cup chances, fans in Madrid were on the verge of anarchy.

According to Straits Time, fans flooded Madrid’s streets, waving flags, cheering and honking car horns.

Supporters gathered along the Paseo de Recoletos towards Cibeles Square, the traditional gathering point for celebrations by Spain’s national team and its fans, per the report.

Fans chanted “Campeones, campeones!” (Champions, champions!) while some set off flares.

An estimated tens of thousands braved the 95 degree heat to set up camp in front of TV screens in two outdoor fan zones set up in Madrid.

Spain’s last World Cup victory came in 2010, when hundreds of thousands of supporters welcomed the team home in Madrid after their win in South Africa. AFP