Hirscher, the Austrian six-time overall champion, built on his first-run lead to win by 0.39 seconds. In the final slalom before the Pyeongchang Olympics, he and Kristoffersen were far ahead of the field as third-place Daniel Yule of Switzerland was 2.13 seconds behind.

‘‘I would not have beaten him even if there were no snowballs. Marcel was better today. We are in a league of our own, this battle is really great,’’ said the Norwegian, who beat Hirscher in a slalom in Kitzbuehel two days ago. Together they have won seven of the season’s eight World Cups in the discipline.

‘‘One time I am ahead by a few hundredths, the next time Marcel is ahead by a few hundredths. Let’s see what happens at the Olympics,’’ Kristoffersen said.

Hirscher, who didn’t see the incident from the starting gate, apologized to Kristoffersen immediately after the race.

Advertisement

‘‘I feel very sorry for Henrik,’’ said Hirscher, adding that ‘‘99.9 percent’’ of the 41,000 spectators were great fans. ‘‘But it’s a little bit of a shame that we also have such spectators who do this.’’

The incident sparked an outcry on social media, and women’s overall champion Mikaela Shiffrin said on Twitter that ‘‘throwing snowballs or any other kind of obstruction AT racers WHILE they are skiing to throw them off is not only disgusting, but dangerous. Get a life.’’

Hirscher got his ninth win of the season and 54th overall, matching Austrian great Hermann Maier’s career total. Only Swedish standout Ingemar Stenmark (86) has won more races.

‘‘It’s unbelievable and a dream has come true. Wow,’’ said Hirscher, who won slalom gold at the world championships on the same hill five years ago. ‘‘I have never skied in Schladming with so many emotions. The feelings are a bit like the worlds in 2013.’’

Hirscher got the record despite breaking his ankle in the offseason and missing his entire preparation period.

Advertisement

‘‘Maybe I should do that more often. Not breaking my ankle, but taking more time off,’’ he said.

Among the spectators was Hirscher’s close friend, motorbike rider Matthias Walkner, who had just returned from South America where he won the Dakar Rally.

‘‘I will share a drink with Matthias tonight. It won’t get much better than this,’’ said Hirscher, whose win was the 500th by an Austrian man in the 51-year history of the World Cup.

Yule got his second career podium two days after finishing third in Kitzbuehel, and said ‘‘doing this in the two temples of slalom is unbelievable.’’

The men’s World Cup continues with a downhill and a giant slalom in Garmisch-Partenkirchen, Germany, this weekend.