BUFFALO, N.Y. — Filip Zadina and Filip Chytil scored second-period goals for the Czech Republic in a stunning 5-4 victory over Russia in the opening game of the world junior hockey championships on Tuesday.

Russia has medaled at the past seven world juniors while the Czech Republic has not reached the medal round since 2005. This was the Czech Republic’s second victory in the past 12 meetings with Russia.

Martin Necas, Filip Kral and Ostap Safin also scored for the Czech Republic and Martin Kaut had three assists. Josef Korenar made 34 saves.

Zadina and Chytil scored to give the Czech Republic a 4-2 lead late in the second period. Filip Kraul scored the Czech Republic’s fifth goal 6:16 into the third period.

Artur Kayumov and Vladislav Syomin scored late in the third period for Russia. Marsel Sholokhov and Alexei Polodyan scored in the first period.