Marko Anttila helped lead Finland to its third world hockey title, scoring the tying and go-ahead goals in a 3-1 victory over Canada on Sunday.

Anttila tied it at 1 on a power play early in the second period and the Finnish captain made it 2-1 early in the third. Harri Pesonen added an insurance goal with five minutes to play.

Kevin Lankinen made 42 saves for Finland, allowing only Shea Theodore’s first-period goal.

Finland's Marko Anttila (12) celebrates after scoring a goal past Canada goaltender Matt Murray (30) during the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. (AP Photo/Petr David Josek)
Finland’s Marko Anttila (12) celebrates after scoring a goal past Canada goaltender Matt Murray (30) during the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. (AP Photo/Petr David Josek)

Matt Murray stopped 19 shots for Canada.

Anttila also scored Saturday in Finland’s 1-0 victory over Russia. The Finns knocked off two-time defending champion from Sweden in the quarterfinal. Draft-eligible Kaapo Kakko led the team with six goals.

Finland also won titles in 1995 in Sweden and 2011 in Bratislava.

Finland's Marko Anttila, center, celebrates with Oliwer Kaski (7), Kaapo Kakko (24), Niko Ojamaki (20), and Sakari Manninen (65) after Anttila scored a goal against Canada during the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. (AP Photo/Petr David Josek)
Finland’s Marko Anttila, center, celebrates with Oliwer Kaski (7), Kaapo Kakko (24), Niko Ojamaki (20), and Sakari Manninen (65) after Anttila scored a goal against Canada during the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. (AP Photo/Petr David Josek)

Earlier, Russia beat the Czech Republic 3-2 in a shootout for third place. Russia was outshot 50-30 through 70 minutes of play, including 10 minutes of sudden-death 3-on-3 overtime, then outscored the Czech Republic 2-0 in the shootout on goals from Ilya Kovalchuk and Nikita Gusev.

Finland's Marko Anttila (12) kisses the trophy after Finland beat Canada 3-1 in the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. Anttila scored two goals in the game. (AP Photo/Petr David Josek)
Finland’s Marko Anttila (12) kisses the trophy after Finland beat Canada 3-1 in the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. Anttila scored two goals in the game. (AP Photo/Petr David Josek)
Canada's Shea Theodore (27) celebrates after scoring a goal against Finland during the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. (AP Photo/Petr David Josek)
Canada’s Shea Theodore (27) celebrates after scoring a goal against Finland during the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. (AP Photo/Petr David Josek)
Finland players celebrate after beating Canada 3-1 in the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. (AP Photo/Petr David Josek)
Finland players celebrate after beating Canada 3-1 in the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. (AP Photo/Petr David Josek)
Finland players celebrate after beating Canada 3-1 in the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. (AP Photo/Petr David Josek)
Finland players celebrate after beating Canada 3-1 in the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. (AP Photo/Petr David Josek)
Finland players celebrate after beating Canada 3-1 in the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. (AP Photo/Petr David Josek)
Finland players celebrate after beating Canada 3-1 in the Ice Hockey World Championships gold medal match at the Ondrej Nepela Arena in Bratislava, Slovakia, Sunday, May 26, 2019. (AP Photo/Petr David Josek)