Simon Moser scored with 7.9 seconds left, lifting Switzerland to a 1-0 win over Latvia on Wednesday in the Olympic opener for both hockey teams.
Moser was credited with the game-winning goal that appeared to carom off a Latvian player in front of the net.
Edgars Masalskis made 38 saves, stopping shots with every part of his body.
Embedded owg_slideshow: Switzerland tops Latvia on goal in final seconds
The Latvians haven't lasted longer than the preliminary round the previous three Olympics, ranking 12th in the last two and ninth in 2002. They pushed the Czechs to overtime in a qualification match before losing at the Vancouver Games.
The Swiss advanced to the quarterfinals in 2010 and 2006 and they have a chance to upset some teams with more talent with Jonas Hiller in net.