Sudden death and a shootout was needed to decide the winner of the 2017 World Juniors, and the United States came away with the gold after Troy Terry’s game-winner and Tyler Parsons’ game-winning save.

In a game befitting of an incredible tournament, Canada held two two-goal leads and the United States came back from both to force extra time. The difference, however, was Terry’s goal in a game that could have gone either way.

Terry was also the hero in the United States’ semifinal win over Russia.

Goaltender Parsons saved 46 in the gold medal match, including all five in the shootout.

Canada took the 1-0 lead four minutes into the game on a play off the rush. Thomas Chabot was left wide open by the United States’ defense and he was able to shoot in Matt Barzal’s pass through the slot past the blocker of Parsons.

Chabot goal, 1-0 Canada pic.twitter.com/3MJh8w1iKu — GIF Grand Maester (@myregularface) January 6, 2017

Jeremy Lauzon doubled Canada’s lead five minutes later after the United States turned the puck over in their own zone. The defenseman’s shot from the middle of the slot bested Parsons past the blocker for the 2-0 lead.

Jeremy Lauzon (BOS) with the rocket to make it 2-0 Canada pic.twitter.com/Bj5Qz75qfe — Pete Blackburn (@PeteBlackburn) January 6, 2017

The U.S. defensemen continued to shine in the gold medal match, as Charlie McAvoy netted the Americans their first goal of the evening to cut Canada’s lead to 2-1. Off a rush, the defenseman was left alone to skate through the slot and go low glove side on goaltender Carter Hart for the score.

another angle pic.twitter.com/9qDDo5l2RD — GIF Grand Maester (@myregularface) January 6, 2017

Things turned the Americans’ way as a power play goal tied the game midway through the second period. Adam Fox’s shot from the point hit Kieffer Bellows on the deflection screen past Hart for the 2-2 score.

USA ties the game 2-2 pic.twitter.com/linoD3Ovs2 — GIF Grand Maester (@myregularface) January 6, 2017

Unfortunately, three straight penalties by the United States stalled their momentum. On a power play to open the third period, Nicolas Roy had the time and space to put a wrist shot from the left circle into the top corner of the net for the 3-2 lead.

Three minutes later, a breakaway goal from Mathieu Joseph seemingly put the game out of reach for the United States 4-2. However, once again the Americans were able to stage a two-goal comeback thanks to a second goal from Bellows and Colin White’s first of the game. White’s goal knotted it at 4-4 and forced extra time.

USA ties the game again, goal from Colin White pic.twitter.com/BDB5kQjnDY — GIF Grand Maester (@myregularface) January 6, 2017

No score was had in the overtime period, and Terry was the only goalscorer in the shootout for either team while Parsons got the final save.

Troy Terry scores in the 4th round (w/bench reaction) pic.twitter.com/kZxiYqEawh — GIF Grand Maester (@myregularface) January 6, 2017

Parsons save FTW pic.twitter.com/J67Ya2KIEE — GIF Grand Maester (@myregularface) January 6, 2017

The World Junior gold is the United States’ first since 2013.