LILLEHAMMER, Norway (AP) _ Oto Hacsak scored 1:38 into overtime to give Slovakia a 6-5 hockey victory over Germany on Thursday night, setting up a first-ever meeting with the Czech Republic.

Slovakia and the Czech Republic, which were formed when Czechoslovakia divided Jan. 1, 1992, will meet for fifth place Saturday. The Czechs earned their spot in the game with a 5-3 victory over the United States earlier Thursday.

Germany and the Americans will play Saturday for seventh place.

Hacsak's goal came after Slovakia, paced by Lubomir Kolnik's hat trick, rallied from a 3-0 first-period deficit to twice go ahead by a goal in the third period, only to let Germany tie it up both times within a minute.

Hacsak came across the blue line and blasted a slapshot past German goalkeeper Joseph Weiss to the stick side.

Roman Kontsek gave Slovakia its first lead at 5:21 when Kolnik missed a cross rink pass but Kontsek was not far away to blast a slapshot from in the slot.

Twenty-eight seconds later, Georg Franz blocked an outlet pass at the blue line and pushed it ahead to Benoit Doucet, who ripped a slapshot from the faceoff circle into the far upper corner of the net for a 4-4 tie.

Kolnik scored his third goal to restore the lead at 11:09 on the power play, redirecting Oto Hacsak's pass from the blue line at the right post.

But Joerg Handrick tied it again, this time 36 seconds later, with a slapshot from outside the blue line.