As the ball went into the net on the record 17th goal, Messi ran toward a corner and thrust his right arm into the air to celebrate the mark with the decidedly pro-Argentina crowd among the 70,649 fans in the sold-out home of the NFL’s Dallas Cowboys.

“Someone who is 39 years old and can score two goals, and five goals overall at the beginning of the World Cup, well, that makes a difference,” Austria coach Ralf Rangnick said through an interpreter. “We knew that he is on a level of his own, and Lionel Messi showed us today that he’s one of the best, and he is the best.”

There had been a gasp from those same fans when Messi missed the penalty in the ninth minute.

His left-footed attempt went just wide of the right post. He is now 4-of-7 on penalty kicks in regulation play at the World Cup, with misses in three consecutive tournaments.

Klose played in 24 World Cup matches for Germany, which wrapped up his fourth tournament by winning the 2014 final 1-0 in extra time over Messi and Argentina.

In an interview published on June 12, Klose said he expected Messi to break the scoring record.

“With the larger field of competing teams there are more games and so more chances to score goals. And I assume Argentina and France will go far,” Klose told German newspaper Sueddeutsche Zeitung. “That’s perfectly OK, the record will be broken eventually anyhow and Messi is welcome to be the one who does it. I’m a big fan of Messi, always have been. Messi is a genius.”

Messi’s hat trick in the previous game, in his 200th international appearance, came 20 years to the date of his World Cup debut in Germany, when he also scored. Monday was his FIFA-record 28th match in the tournament.

The penalty kick came after Lautaro Martinez was running free in the box and was tackled from behind by Xaver Schlager and Stefan Posch, the defender playing with a broken jaw.

Play continued for more than a minute with Martinez still on the ground near the goal. When the game was stopped for him, officials reviewed the play and called the penalty.

Messi’s father has been undergoing medical treatment for an undisclosed illness, the family said in a statement last week while not providing any specific details. The 68-year-old Jorge Messi has played a key role in his third son’s soccer career, acting as his agent and managing his business affairs off the field.

Lionel Messi was overcome with emotion after scoring his first goal against Algeria, and said after that match his tears followed some tough days not related to soccer.