BUDAPEST, Hungary — Cristiano Ronaldo scored two penalties to tie the overall men’s scoring record with 109 goals and Portugal advanced to the round of 16 at the European Championship after a 2-2 draw with France on Wednesday.
Ronaldo’s tournament-leading fourth and fifth goals moved him level with former Iran striker Ali Daei at 109, while also extending his overall tournament record to 14.
Karim Benzema scored both of France’s goals, his first ever at the tournament after failing to find the target at Euro 2008 and 2012.
Defending champion Portugal finished in third place in the group, one spot behind Germany. France, which had already qualified, was first.
Ronaldo scored the opening goal in the 31st minute and then equalized from the spot in the 60th after Benzema put World Cup champion France ahead 2-1 shortly after halftime.
Benzema also scored a penalty in first-half injury time after Kylian Mbappe was fouled. It was Benzema’s first international goal in nearly six years after losing his place in the team following a fallout with coach Didier Deschamps.
The French will next face Switzerland in the next round while Portugal will take on Belgium.
SPAIN 5, SLOVAKIA 0
SEVILLE, Spain — An embarrassing own-goal by Slovakia goalkeeper Martin Dúbravka in the first half put Spain on its way to a 5-0 victory.
Dúbravka saved an early penalty from Álvaro Morata but then clumsily knocked the ball into his own net after it ricocheted high into the air off a shot by Pablo Sarabia in the 30th minute.
Aymeric Laporte added to Spain’s lead before halftime, and Sarabia, Ferran Torres and another own-goal in the second half made it five for “La Roja,” which had been facing elimination in front of its own fans.
The victory allowed Spain to advance in second place in Group E with five points. The team will next play Croatia in Copenhagen on Monday.
GERMANY 2, HUNGARY 2
MUNICH — Leon Goretzka scored late to keep Germany in the European Championship after a 2-2 draw against Hungary.
Jamal Musiala made an immediate impact after coming on in the 82nd minute, eluding three defenders to give Timo Werner room to shoot. Werner was blocked but the rebound fell for Goretzka, who shot past goalkeeper Péter Gulácsi in the 84th.
It had looked like Ádám Szalai was going to drag his team into the round of 16. The Hungary captain scored one goal early against the run of play and set up András Schäfer to make it 2-1 right after Kai Havertz had equalized for Germany.
Germany finished second in the group with four points and will next face England at Wembley Stadium on Tuesday.
SWEDEN 3, POLAND 2
ST. PETERSBURG, Russia — Viktor Claesson scored in the fourth minute of stoppage time to give Sweden a 3-2 victory over Poland and first place in Group E.
Robert Lewandowski scored two goals for Poland but embarrassingly missing two headers in about two seconds.
After heading a corner off the crossbar, the ball rebounded straight back to Lewandowski but he could only head the ball onto the same part of the goal frame. Then the ball got trapped between his legs and then went through the legs of Poland teammate Grzegorz Krychowiak, too.
Emil Forsberg had already scored for Sweden by then, after 81 seconds for the second quickest goal in the tournament’s history. He added a second in the 59th on a counterattack.
Sweden will next face Ukraine in Glasgow on Tuesday.
Lewandowski leaves Euro 2020 with three goals, his best haul at a World Cup or European Championship.
More AP soccer: https://apnews.com/hub/soccer and https://twitter.com/AP_Sports