Georgios Samaras scored an injury-time penalty to put Greece into the second round of the World Cup with a 2-1 win over Ivory Coast on Tuesday.
Samaras was adjudged to have been tripped in the area by substitute Giovanni Sio, and calmly slotted in the spot kick for a win that puts Greece through to the knockout stage.
Ivory Coast would have advanced with a draw.
That goal looked like it would put the Africans through until the late drama. Samaras met a cross in the area and went to shoot with his left leg, which got caught against the leg of Sio. Samaras' foot then hit the ground and he fell to the turf, drawing a penalty.With his country's hopes on the line, Samaras sent his spot kick past goalkeeper Boubacar Barry, who guessed the right way but couldn't keep the ball out.
Greece, which had failed to score in the previous two Group C matches, finished second in Group C with four points, behind winner Colombia with nine. Ivory Coast had three and Japan one.
Greece had not scored in its first two games in Brazil, but missed a handful of scoring chances against Ivory Coast, hitting the crossbar twice with shots from distance. The Greeks were also forced to make two early substitutions after valuable midfielder Pangiotis Kone and goalkeeper Orestis Karnezis were injured in the first half.