Portugal won their first match of the World Cup 2022defeating Ghana 3-2 on Thursday night in Qatar.

The five goals came in the last 45 minutes of play, but Portugal beat Ghana to secure a win in Group H.

Cristiano Ronaldo of Portugal celebrates after scoring during the World Cup Group H soccer match between Portugal and Ghana, at the 974 Stadium in Doha, Qatar, Thursday, November 24, 2022.
(AP Photo/Francisco Seco)

Portugal star Cristiano Ronaldo started the scoring in the 65th minute, putting Portugal up 1-0 by converting a penalty.

WORLD CUP 2022: JAPAN SURPRISES GERMANY IN GROUP E MATCH

Ronaldo became the first male player to score in five World Cups with the goal.

Ronaldo’s first World Cup It was in 2006, when he converted a penalty against Iran. In the 2018 World Cup in Russia, Ronaldo scored five goals.

Rafael Leao of Portugal celebrates scoring his team's third goal against Ghana during a World Cup Group H soccer match at Stadium 974 in Doha, Qatar, Thursday, November 24, 2022.

Rafael Leao of Portugal celebrates scoring his team’s third goal against Ghana during a World Cup Group H soccer match at Stadium 974 in Doha, Qatar, Thursday, November 24, 2022.
(AP Photo/Manu Fernandez)

However, his heroism alone was not enough for Portugal to earn all three points as Ghana tied the game at 1-1 with a goal from Ghana’s Andre Ayew in the 73rd minute.

CRISTIANO RONALDO SUSPENDED 2 GAMES FOR ‘IMPROPER’ CONDUCT IN THE APRIL MATCH

Portugal responded quickly, scoring goals in the 78th and 80th minute to close out the game.

It’s been an interesting few days for football’s biggest star, like Ronaldo and Manchester United. they agreed to separate on Tuesday after the 37-year-old criticized his English Premier League club in an interview.

CLICK HERE FOR MORE SPORTS COVERAGE ON FOXNEWS.COM

In an appearance on «Piers Morgan Uncensored», Ronaldo said he felt «betrayed» by the club and accused senior officials of trying to force him out.

Cristiano Ronaldo of Portugal celebrates after scoring from the penalty spot his team's first goal against Ghana during a World Cup Group H soccer match at Stadium 974 in Doha, Qatar, Thursday, November 24, 2022.

Cristiano Ronaldo of Portugal celebrates after scoring from the penalty spot his team’s first goal against Ghana during a World Cup Group H soccer match at Stadium 974 in Doha, Qatar, Thursday, November 24, 2022.
(AP Photo/Manu Fernandez)

«Cristiano Ronaldo will leave Manchester United by mutual agreement, effective immediately,» Manchester United said in a statement posted on Twitter. «The club thanks him for his immense contribution during two spells at Old Trafford, scoring 145 goals in 346 appearances, and wishes him and his family all the best for the future.

CLICK HERE TO GET THE FOX NEWS APP

«Everyone at Manchester United remains focused on continuing the team’s progress under Erik ten Hag and working together to achieve success on the pitch.»

Ronaldo now has a record 118 international goals.