Greece qualified for the last 16 of a World Cup for the first time with a dramatic victory against Ivory Coast.

Georgios Samaras converted a controversial injury-time penalty to seal the win after he was adjudged to have been fouled by Giovanni Sio.

Greece had taken a first-half lead when substitute Andreas Samaris scored after Cheick Tiote's defensive mistake.

Ivory Coast had looked like advancing as Wilfried Bony equalised from Gervinho's pass, before the late twist.

Analysis

"There was some contact but it looks like Samaras has gone to strike the ball and has kicked Sio and fallen over. For me that is not a penalty.

"Samaras has not scored for two years but looked as cool and calm as possible. The Greek players went crazy."

Soon after their elimination from the tournament was confirmed, Ivory Coast coach Sabri Lamouchi resigned.

Greece will face Costa Rica in the second round in Recife on Sunday, while the Ivorians have now gone out in the group phase in each of the last three World Cups.

They began the day second in the table and, with Colombia beating Japan 4-1 in the other Group C match, needed only a point to become the first African side to qualify for the second phase in this year's competition.

However, Greece, who offered little as an attacking threat in the second half, were given an opportunity to grab the winner when referee Christian Lescano pointed to the spot, despite Ivorian protests.

They were unhappy that Samaras, who kicked the turf, had fallen to the ground, but the official gave the decision and Samaras kept his composure to shoot past Ivory Coast goalkeeper Boubacar Barry for his first international goal since Euro 2012.

Greece started the day bottom of their group, and their hopes of qualifying suffered a further setback when they had to make two substitutions inside the first 24 minutes, including goalkeeper Orestis Karnezis with a back injury.

Greece's Georgios Samaras

Greece's Georgios Samaras converts a dramatic injury-time penalty to take his side into the last 16

However, they created the best first-half opportunities with Samaras leading a quick attack and releasing Jose Holebas, whose shot from the edge of the penalty area rebounded off the crossbar.

Fernando Santos's Greece team went ahead with their first goal of the tournament and only their third in three World Cups.

Newcastle midfielder Tiote carelessly lost the ball to Samaris, who played a one-two with Samaras before lifting the ball over Ivory Coast goalkeeper Barry.

Teams through and eliminated

Teams through so far: Brazil, Mexico, Netherlands, Chile, Colombia, Greece, Costa Rica, Uruguay, France, Argentina, Belgium

Teams eliminated so far: Croatia, Cameroon, Spain, Australia, Ivory Coast, Japan, Italy, England, Bosnia-Hercegovina

Despite the African side seeing more of the possession after the break, Karagounis almost made it 2-0 with a long-range effort that hit the crossbar.

But Ivory Coast, who had seen Salomon Kalou and Wilfried Bony shoot wastefully wide earlier in the second half, deservedly equalised with a quick counter-attack as ex-Arsenal forward Gervinho set up Bony.

The Swansea striker, who scored in their 2-1 win against Japan on Sunday, calmly finished past substitute goalkeeper Panagiotis Glykos.

That goal sparked wild Ivory Coast celebrations, but their joy turned to despair with Samaras's 93rd-minute penalty.

Ivory Coast coach Sabri Lamouchi: "My contract comes to an end at this World Cup and there will be no epilogue. It is logical as we did not do well at last year's Africa Cup of Nations or at the World Cup finals.

"The Ivory Coast is a great football nation. And this was a cruel game. After so much hard work and so much sacrifice, all of us and everyone in the Ivory Coast is very sad."

Greece coach Fernando Santos: "We found balance tonight. We are not the worst team when we lose or the best when we win.

"To everyone in Greece I say, 'Go out into the street and celebrate.'"

Greece captain Giorgos Karagounis: "We came here to advance from the group stage. We've never done it before, and we did in a great way.

"The goal should have come earlier. So God helped us in the end and we all thank him. We prevailed against the odds. We had passion and we had fight."

Samaris

Andreas Samaris put Greece ahead with their first goal of the tournament just before half-time

Greece

Greece had gone out in the group phase of both the 1994 and 2010 World Cup tournaments

Ivory Coast

Wilfried Bony and Gervinho celebrate Ivory Coast's equaliser, but Greece scored a controversial winner

Ivory Coast

Ivory Coast had begun the day in the second qualifying position in Group C

Greece v Costa Rica

Greece celebrate their victory, while Ivory Coast defender Kolo Toure watches on

Lineup, Bookings (3) & Substitutions (6)

Greece

  • 01 Karnezis (Glykos - 24' )
  • 15 Torosidis
  • 20 Holebas
  • 10 Karagounis (Gekas - 78' )
  • 04 Manolas
  • 19 Papastathopoulos
  • 14 Salpingidis
  • 02 Maniatis
  • 07 Samaras
  • 08 Kone (Samaris - 12' )
  • 16 Christodoulopoulos

Substitutes

  • 03 Tzavellas
  • 05 Moras
  • 06 Tziolis
  • 09 Mitroglou
  • 11 Vyntra
  • 12 Glykos
  • 13 Kapino
  • 17 Gekas
  • 18 Fetfatzidis
  • 22 Samaris
  • 23 Tachtsidis

Ivory Coast

  • 01 Barry
  • 17 Aurier
  • 03 Boka
  • 20 Gonzaroua Die Booked
  • 04 K Touré
  • 22 Bamba
  • 08 Kalou Booked
  • 09 Tioté (Bony - 61' )
  • 11 Drogba Booked (Diomande - 78' )
  • 19 Y Touré
  • 10 Gervinho (Sio - 83' )

Substitutes

  • 02 Diarrassouba
  • 06 Bolly
  • 07 Akpa-Akpro
  • 12 Bony
  • 13 Ya Konan
  • 14 Diomande
  • 15 Gradel
  • 16 Gbohouo
  • 18 Djakpa
  • 21 Sio
  • 23 Mandé
Ref: Carlos Vera
Att: 59,095

Match Stats

Shots

13 13

On target

5 4

Corners

4 7

Fouls

12 23

Live Text Commentary

Full time

Full Time Match ends, Greece 2, Côte d'Ivoire 1.

90:00 +3:46 Full time

Full Time Second Half ends, Greece 2, Côte d'Ivoire 1.

90:00 +3:42

Attempt missed. Kolo Touré (Côte d'Ivoire) right footed shot from more than 35 yards misses to the left. Assisted by Yaya Touré.

90:00 +2:24 Goal scored

Goal! Goal! Greece 2, Côte d'Ivoire 1. Georgios Samaras (Greece) converts the penalty with a right footed shot to the bottom right corner.

90:00 +0:48

Penalty conceded by Giovanni Sio (Côte d'Ivoire) after a foul in the penalty area.

90:00 +0:48

Penalty Greece. Georgios Samaras draws a foul in the penalty area.

90:00 +0:14

Foul by Serge Aurier (Côte d'Ivoire).

90:00 +0:14

Giannis Maniatis (Greece) wins a free kick in the defensive half.

89:56

Attempt saved. Yaya Touré (Côte d'Ivoire) right footed shot from a difficult angle on the right is saved in the bottom right corner.

88:56

Hand ball by Salomon Kalou (Côte d'Ivoire).

88:26

Foul by Giovanni Sio (Côte d'Ivoire).

88:26

Andreas Samaris (Greece) wins a free kick in the defensive half.

87:27

Offside, Côte d'Ivoire. Serey Die tries a through ball, but Giovanni Sio is caught offside.

85:29

Giovanni Sio (Côte d'Ivoire) wins a free kick in the defensive half.

85:29

Foul by Vasilis Torosidis (Greece).

84:54

Foul by Souleymane Bamba (Côte d'Ivoire).

84:54

Georgios Samaras (Greece) wins a free kick in the attacking half.

84:45

Attempt saved. Giovanni Sio (Côte d'Ivoire) left footed shot from the centre of the box is saved in the top centre of the goal. Assisted by Salomon Kalou with a headed pass.

84:02

Corner, Côte d'Ivoire. Conceded by Vasilis Torosidis.

84:00

Attempt blocked. Salomon Kalou (Côte d'Ivoire) right footed shot from the left side of the box is blocked. Assisted by Yaya Touré.

83:02

Attempt missed. Lazaros Christodoulopoulos (Greece) right footed shot from outside the box misses to the left.

82:36 Substitution

Substitution Substitution, Côte d'Ivoire. Giovanni Sio replaces Gervinho.

81:47

Foul by Kolo Touré (Côte d'Ivoire).

81:47

Georgios Samaras (Greece) wins a free kick in the defensive half.

80:43

Foul by Serge Aurier (Côte d'Ivoire).

80:43

Lazaros Christodoulopoulos (Greece) wins a free kick in the attacking half.

80:28

Foul by Wilfried Bony (Côte d'Ivoire).

80:28

Dimitrios Salpingidis (Greece) wins a free kick in the defensive half.

77:58 Substitution

Substitution Substitution, Côte d'Ivoire. Ismael Diomande replaces Didier Drogba.

77:08 Substitution

Substitution Substitution, Greece. Theofanis Gekas replaces Giorgos Karagounis.

76:33

Foul by Wilfried Bony (Côte d'Ivoire).

76:33

Kostas Manolas (Greece) wins a free kick in the defensive half.

75:04

Corner, Greece. Conceded by Salomon Kalou.

73:11 Goal scored

Goal! Goal! Greece 1, Côte d'Ivoire 1. Wilfried Bony (Côte d'Ivoire) right footed shot from the centre of the box to the bottom left corner. Assisted by Gervinho.

71:54

Attempt missed. Souleymane Bamba (Côte d'Ivoire) header from the centre of the box is close, but misses to the right. Assisted by Yaya Touré with a cross following a corner.

71:31

Corner, Côte d'Ivoire. Conceded by José Holebas.

70:54

Didier Drogba (Côte d'Ivoire) wins a free kick in the attacking half.

70:54

Foul by Giannis Maniatis (Greece).

70:26

Attempt missed. Lazaros Christodoulopoulos (Greece) right footed shot from outside the box is just a bit too high from a direct free kick.

69:26 Booking

Booking Serey Die (Côte d'Ivoire) is shown the yellow card for a bad foul.

69:20

Foul by Serey Die (Côte d'Ivoire).

69:20

José Holebas (Greece) wins a free kick in the attacking half.

68:07

Foul by Salomon Kalou (Côte d'Ivoire).

68:07

Dimitrios Salpingidis (Greece) wins a free kick in the defensive half.

67:38

Giorgos Karagounis (Greece) hits the bar with a right footed shot from outside the box. Assisted by Lazaros Christodoulopoulos.

66:36

Attempt missed. Salomon Kalou (Côte d'Ivoire) right footed shot from the left side of the box is close, but misses to the right. Assisted by Arthur Boka.

64:25

Attempt missed. Wilfried Bony (Côte d'Ivoire) right footed shot from outside the box misses to the right. Assisted by Yaya Touré.

62:38

Attempt missed. Vasilis Torosidis (Greece) left footed shot from outside the box misses to the right following a set piece situation.

62:36

Attempt blocked. Giorgos Karagounis (Greece) right footed shot from outside the box is blocked.

61:21 Booking

Booking Salomon Kalou (Côte d'Ivoire) is shown the yellow card for a bad foul.

61:16

Foul by Salomon Kalou (Côte d'Ivoire).

61:16

Vasilis Torosidis (Greece) wins a free kick in the attacking half.

60:27 Substitution

Substitution Substitution, Côte d'Ivoire. Wilfried Bony replaces Cheick Tioté.

60:03

Corner, Côte d'Ivoire. Conceded by Giannis Maniatis.

59:11

Salomon Kalou (Côte d'Ivoire) wins a free kick in the defensive half.

59:11

Foul by José Holebas (Greece).

57:59

Corner, Greece. Conceded by Boubacar Barry.

57:57

Attempt saved. Dimitrios Salpingidis (Greece) right footed shot from outside the box is saved in the top centre of the goal. Assisted by Georgios Samaras.

57:12

Foul by Kolo Touré (Côte d'Ivoire).

57:12

Georgios Samaras (Greece) wins a free kick in the defensive half.

56:57

Attempt blocked. Yaya Touré (Côte d'Ivoire) right footed shot from outside the box is blocked. Assisted by Cheick Tioté.

55:36

Corner, Côte d'Ivoire. Conceded by Kostas Manolas.

55:21

Hand ball by Georgios Samaras (Greece).

53:00

Attempt missed. Lazaros Christodoulopoulos (Greece) right footed shot from the centre of the box misses to the left. Assisted by Dimitrios Salpingidis.

50:41

Corner, Côte d'Ivoire. Conceded by Kostas Manolas.

48:26

Attempt saved. Cheick Tioté (Côte d'Ivoire) left footed shot from outside the box is saved in the centre of the goal. Assisted by Gervinho.

47:17

Foul by Didier Drogba (Côte d'Ivoire).

47:17

Panagiotis Glykos (Greece) wins a free kick in the defensive half.

46:46

Kolo Touré (Côte d'Ivoire) wins a free kick in the defensive half.

46:46

Foul by Kostas Manolas (Greece).

46:10

Corner, Greece. Conceded by Cheick Tioté.

45:32

Corner, Greece. Conceded by Souleymane Bamba.

45:29

Attempt blocked. Lazaros Christodoulopoulos (Greece) right footed shot from outside the box is blocked.

45:00

Second Half begins Greece 1, Côte d'Ivoire 0.

45:00 +4:03 Half time

Half Time First Half ends, Greece 1, Côte d'Ivoire 0.

45:00 +3:16

Kolo Touré (Côte d'Ivoire) wins a free kick in the defensive half.

45:00 +3:16

Foul by Kostas Manolas (Greece).

45:00 +2:43

Foul by Serey Die (Côte d'Ivoire).

45:00 +2:43

Sokratis (Greece) wins a free kick in the attacking half.

45:00 +1:20

Foul by Serey Die (Côte d'Ivoire).

45:00 +1:20

Georgios Samaras (Greece) wins a free kick in the attacking half.

44:48

Foul by Arthur Boka (Côte d'Ivoire).

44:48

Dimitrios Salpingidis (Greece) wins a free kick on the right wing.

44:10

Attempt blocked. Yaya Touré (Côte d'Ivoire) left footed shot from the right side of the box is blocked. Assisted by Cheick Tioté.

41:47 Goal scored

Goal! Goal! Greece 1, Côte d'Ivoire 0. Andreas Samaris (Greece) right footed shot from the centre of the box to the centre of the goal. Assisted by Georgios Samaras.

40:34

Attempt missed. Arthur Boka (Côte d'Ivoire) left footed shot from long range on the left misses to the right.

38:45

Foul by Salomon Kalou (Côte d'Ivoire).

38:45

José Holebas (Greece) wins a free kick in the defensive half.

36:33 Booking

Booking Didier Drogba (Côte d'Ivoire) is shown the yellow card for a bad foul.

36:26

Foul by Didier Drogba (Côte d'Ivoire).

36:26

Andreas Samaris (Greece) wins a free kick in the defensive half.

35:49

Salomon Kalou (Côte d'Ivoire) wins a free kick in the defensive half.

35:49

Foul by José Holebas (Greece).

33:56

Attempt saved. Giorgos Karagounis (Greece) right footed shot from outside the box is saved in the bottom right corner.

32:22

Foul by Arthur Boka (Côte d'Ivoire).

32:22

Lazaros Christodoulopoulos (Greece) wins a free kick in the attacking half.

32:14

José Holebas (Greece) hits the bar with a right footed shot from outside the box. Assisted by Georgios Samaras following a fast break.

31:19

Corner, Côte d'Ivoire. Conceded by Vasilis Torosidis.

30:45

Didier Drogba (Côte d'Ivoire) wins a free kick in the defensive half.

30:45

Foul by Vasilis Torosidis (Greece).

27:33

Yaya Touré (Côte d'Ivoire) wins a free kick in the defensive half.

27:33

Foul by Giorgos Karagounis (Greece).

25:06

Offside, Greece. José Holebas tries a through ball, but Dimitrios Salpingidis is caught offside.

24:33

Foul by Cheick Tioté (Côte d'Ivoire).

24:33

Georgios Samaras (Greece) wins a free kick on the right wing.

23:26 Substitution

Substitution Substitution, Greece. Panagiotis Glykos replaces Orestis Karnezis because of an injury.

20:17

Serge Aurier (Côte d'Ivoire) wins a free kick in the defensive half.

20:17

Foul by José Holebas (Greece).

19:22

Delay over. They are ready to continue.

16:40

Delay in match Orestis Karnezis (Greece) because of an injury.

15:02

Arthur Boka (Côte d'Ivoire) wins a free kick on the left wing.

15:02

Foul by Dimitrios Salpingidis (Greece).

14:34

Attempt missed. Gervinho (Côte d'Ivoire) right footed shot from the right side of the box misses to the left. Assisted by Didier Drogba with a headed pass.

13:06

Attempt saved. Dimitrios Salpingidis (Greece) left footed shot from the centre of the box is saved in the centre of the goal. Assisted by Vasilis Torosidis with a cross.

11:37 Substitution

Substitution Substitution, Greece. Andreas Samaris replaces Panagiotis Kone because of an injury.

11:36

Delay over. They are ready to continue.

10:16

Delay in match Panagiotis Kone (Greece) because of an injury.

8:40

Corner, Côte d'Ivoire. Conceded by Kostas Manolas.

4:31

Foul by Vasilis Torosidis (Greece).

4:31

Serge Aurier (Côte d'Ivoire) wins a free kick in the defensive half.

3:39

Foul by Souleymane Bamba (Côte d'Ivoire).

3:39

Panagiotis Kone (Greece) wins a free kick in the attacking half.

0:07

Foul by Didier Drogba (Côte d'Ivoire).

0:07

Kostas Manolas (Greece) wins a free kick in the defensive half.

0:00

First Half begins.

0:00

Lineups are announced and players are warming up.

Live data and text provided by our data suppliers