Portugal scored three times late on to defeat a strong side Hungary 3-0 in their Euro 2020 opener at a packed Puskas Arena on Tuesday evening.
The defending champions paraded a much stronger squad than when they won their first major title five years ago, laboured for long periods in Budapest.
But Raphael Guerreiro made the vital breakthrough in the 84th minute and Ronaldo slammed in a penalty shortly afterwards before tapping home in injury time.
The Juventus striker has now scored 11 goals in the tournament, two more than French great Michel Platini, who netted nine times when he led France to glory in 1984.
The 36-year-old is also just three goals away from matching Iranian Ali Daei’s all-time international scoring record of 109.
Ronaldo chose by far the biggest crowd of the tournament to break the record in front of, with Budapest the only Euro 2020 venue not to limit fan capacity due to Covid-19.
The Puskas Arena has a capacity of almost 68,000 fans.
World Cup winners France and three-time European champions Germany meet in the other Group F game later in the day at Munich’s Allianz Arena.
Portugal coach Fernando Santos opted to play Liverpool forward Diogo Jota and Bernardo Silva alongside Ronaldo ahead of Joao Felix.
It almost paid instant dividends, as Jota forced Hungary goalkeeper Peter Gulacsi into a smart save with a left-footed drive in the fourth minute, although he perhaps should have squared the ball for an unmarked Ronaldo.
Five minutes later, Jota, who was out injured for most of the latter stages of the club season, volleyed Bruno Fernandes’ free-kick over the crossbar.
Ronaldo created an opportunity for Bernardo Silva in the 28th minute by winning the ball back high up the pitch, only for the Manchester City winger to delay his shot too long and see the opening snuffed out by an excellent tackle from Hungary centre-back Willi Orban.
Hungary offered very little from open play, although they sent Portugal a warning shortly before half-time when Adam Szalai headed a free-kick too close to Rui Patricio.
Jota continued to be Portugal’s most dangerous player, but his shot on the turn was beaten away by Gulacsi.
The best chance of the opening period fell to Ronaldo in the 44th minute, only for the Portugal captain to plant the ball over from six yards out after meeting Guerreiro’s low cross.
Portugal came out of the blocks quickly after the break, knowing failure to win would put them in trouble in such a difficult group, with Pepe seeing a downward header well saved by the stretching Gulacsi.
Santos’ men continued to press despite Hungary growing in confidence, with Fernandes drawing Gulacsi into another fine stop with a dipping strike from long range.
Despite having Felix, in-form Eintracht Frankfurt striker Andre Silva and Pedro Goncalves, last season’s top-scorer in the Portuguese Primeira Liga, on the bench, Santos waited until the 71st minute to make a change, sending on Rafa Silva for Bernardo Silva.
Portugal’s increasing frustration in the closing quarter of an hour was shown when Ronaldo begged for a penalty for handball against Attila Fiola.
Hungary thought they had snatched a shock lead through substitute Szabolcs Schon, but he was denied by a late linesman’s flag for offside.
Rafa Silva played a key role in the opening goal, though, as his deflected cross was met by Guerreiro, whose shot also took a huge deflection and dribbled agonisingly into the corner of the Hungarian net.
The home side’s resistance was totally over three minutes later, as Orban pulled back Rafa Silva when he was clean through on goal.
Ronaldo stepped up and made no mistake, sending Gulacsi the wrong way to add another record to his collection on the day he became the first player in history to play at five European Championships.
There was more to come from Ronaldo, as he danced through after a one-two with Rafa Silva and rolled in his 106th goal for Portugal.