Emil Andrae broke a tie midway through the third period and Sweden beat Latvia 2-1 on Wednesday to reach the world junior hockey semifinals.
Isak Rosen opened the scoring for Sweden on a power play in the first period. Gustavs Ozolins tied it late in second period. Jesper Wallstedt made 12 saves for Sweden.
In the first quarterfinal, Finland beat Germany 5-2. In the night session, Canada faced Switzerland, and the defending champion United States opposed the Czech Republic.
READ MORE: Canada to take on Switzerland in quarterfinals at World Juniors
Roby Jarventie had two goals and two assists for Finland. Kasper Simontaival and Joel Maatta each had a goal and an assist, with Finland scoring four times on the power play.
Roni Hirvonen also scored and Leevi Merilainen made 19 saves. Bennet Rossmy had two power-play goals for Germany.