(CNN) — One of the most eagerly anticipated games of the opening days of the 2018 World Cup did not disappoint as Cristiano Ronaldo scored a hattrick, made history and earned Portugal a draw in an enthralling contest against a Spain side eager to put a tumultuous week behind them.

The Real Madrid star, aiming to lead his country to glory in what is likely to be his final World Cup, scored from a fourth-minute penalty which he himself earned and put Portugal ahead once again after Spain goalkeeper David de Gea carelessly allowed his long-range effort to slip through his fingers.

But with Spain leading 3-2 with just minutes remaining thanks to a Diego Costa brace and a superb long-range effort from Nacho, Ronaldo stepped up to magically curl a freekick into the top corner to pull his country back from the brink of defeat.

It should come as no surprise that the five-time Ballon d’Or winner, scorer of 43 goals for Real Madrid this season and widely regarded as one of the greatest to have played the game, etched his name in the history books in the process — becoming the first man to score in eight consecutive major tournaments and only the fourth to score in four separate World Cups.

The-CNN-Wire™ & © 2024 Cable News Network, Inc., a Time Warner Company. All rights reserved.

Join our Newsletter for the latest news right to your inbox