(Photo by Derek Leung/Getty Images)

Captain Marie-Philip Poulin played hero as Canada beat the eight-time defending champion United States 3-2 in overtime on Tuesday night to win the women’s hockey world championship.

With the win, Canada secured its first gold medal since 2012, ending the United States’ golden reign.

With 12:38 left in the sudden death 3-on-3 overtime period, Poulin skated down the left side, took a pass from Brianne Jenner and sent it top shelf. Poulin celebrated as the goal was initially waved off before a video review revealed it had gone in, ending the game.

It’s Poulin’s third gold-medal game winning goal in the women’s hockey world championship.

“It’s so weird how it happened,” Canadian forward Sarah Fillier said. “We were all sitting on the bench, thinking we have to go finish this next 11 minutes off. But the buzzer went, and we all jumped on. It’s so crazy, but it’s so cool.”

Canada didn’t start out well, falling behind 2-0 in the first period thanks to two goals by Alex Carpenter less than three minutes apart.

The Canadians began to bring it back in the second period, with Brianne Jenner slotting one past Nicole Hensley while on the power play.

Jamie Lee Rattray had a tip-in a couple minutes later to tie the game at 2-2.

Neither team found the back of the net in the third period, with Ann-Renée Desbiens coming up with some huge saves for Team Canada.

The game then went into overtime, a theme between the Americans and Canadians. Five of the past seven world finals between the two teams have gone into overtime, including 2011, 2012, 2016 and 2017.

In the third place game, Finland beat Switzerland 3-1 to claim its 13th bronze medal.