WASHINGTON — Henrik Lundqvist got the hook after allowing five goals on 22 shots in Sweden’s 6-2 loss to Team Europe on Wednesday night in each team’s final exhibition game before the World Cup of Hockey.

Leon Draisaitl had a hat trick and Tomas Tatar and Thomas Vanek scored on the New York Rangers goaltender, who was a victim of giveaways and defensive miscues but wasn’t at his best. Jacob Markstrom replaced Lundqvist in the third period.

European captain Anze Kopitar added an empty-net goal.

Daniel Sedin scored on the power play and Patric Hornqvist at even strength for Sweden, which opens the World Cup on Sunday against high-powered Russia.

Jaroslav Halak stopped 34 of the 36 shots he faced to solidify the No. 1 goalie job for Europe, which looked ready to face the United States on Saturday after losing twice to the 23-and-under Team North America.