Borussia Dortmund scraped into the last 16 of the Champions League with Kevin Grosskreutz's 87th-minute strike giving them victory over 10-man Marseille.

Dortmund's Robert Lewandowski beat the offside trap to open the scoring for last season's runners-up with a chip.

But Marseille, who had Dimitri Payet sent off after he picked up a second yellow card for diving, equalised when Souleymane Diawara headed in a rebound.

Dortmund were heading out until Grosskreutz scored the winner.

Remember Malaga?

Jurgen Klopp

Dortmund were also minutes away from elimination in last season's Champions League quarter-finals - but scored two last-minute goals to beat Malaga.

Before the midfielder bobbled a low shot into the corner, the German side were set for a place in the Europa League, with Napoli heading through behind Arsenal in Group F.

But the goal not only put Jurgen Klopp's men into the last 16, it also proved enough for them to win the group and avoid playing the top seeds.

Arsenal will now have to play Real Madrid, Paris St-Germain, Bayern Munich, Atletico Madrid or Barcelona in the knockout stages after they lost 2-0 to Napoli to follow Dortmund through.

"This feels fantastic, that was a nerve-shredding game," said Klopp.

"We were in their penalty area every 30 seconds but somehow the ball would not go in."

Lewandowksi chipped in to put Dortmund ahead before Saber Khalifa beat Roman Weidenfeller to a free-kick and headed against the crossbar, with Diawara nodding in the rebound.

When Payet was dismissed, Dortmund had 56 minutes to find a winner against 10 men.

Marco Reus hit the post as Klopp's side piled men forward, and the winner did eventually come as Marseille goalkeeper Steve Mandanda failed to keep out Grosskreutz's mishit effort from 15 yards.

Lineup, Bookings (4) & Substitutions (6)

Marseille

  • 30 Mandanda
  • 24 Fanni
  • 23 Mendy
  • 07 Cheyrou
  • 21 Diawara
  • 04 Lucas Mendes (Abdallah - 45' )
  • 29 Khalifa (Morel - 55' )
  • 13 Lemina
  • 09 Gignac Booked
  • 14 Thauvin (Imbula - 79' )
  • 17 Payet Dismissed after an earlier booking

Substitutes

  • 02 Abdallah
  • 11 J.Ayew
  • 15 Morel
  • 16 Samba
  • 25 Imbula
  • 32 Aloe
  • 36 Bangoura

Borussia Dortmund

  • 01 Weidenfeller
  • 19 Großkreutz
  • 37 Durm
  • 05 Kehl (Piszczek - 78' )
  • 25 Papastathopoulos
  • 24 Sarr Booked
  • 16 Blaszczykowski (Hofmann - 66' )
  • 18 Sahin
  • 09 Lewandowski
  • 10 Mkhitaryan
  • 11 Reus (Schieber - 78' )

Substitutes

  • 07 Hofmann
  • 17 Aubameyang
  • 20 Langerak
  • 21 Kirch
  • 23 Schieber
  • 26 Piszczek
  • 30 Günter
Ref: Marijo Strahonja

Match Stats

Shots

7 18

On target

2 3

Corners

0 6

Fouls

15 15

Live Text Commentary

Full time

Full Time Match ends, Marseille 1, Borussia Dortmund 2.

90:00 +4:00 Full time

Full Time Second Half ends, Marseille 1, Borussia Dortmund 2.

90:00 +3:50

Corner, Borussia Dortmund. Conceded by Benjamin Mendy.

90:00 +2:05

Julian Schieber (Borussia Dortmund) wins a free kick in the defensive half.

90:00 +2:05

Foul by Souleymane Diawara (Marseille).

90:00 +1:18 Booking

Booking Marian Sarr (Borussia Dortmund) is shown the yellow card for a bad foul.

90:00 +1:12

Foul by Marian Sarr (Borussia Dortmund).

90:00 +1:12

Gianelli Imbula (Marseille) wins a free kick in the attacking half.

90:00 +0:16

Robert Lewandowski (Borussia Dortmund) wins a free kick on the right wing.

90:00 +0:16

Foul by Benoit Cheyrou (Marseille).

89:49

Jonas Hofmann (Borussia Dortmund) wins a free kick on the right wing.

89:49

Foul by Jérémy Morel (Marseille).

89:08

Attempt missed. Jonas Hofmann (Borussia Dortmund) right footed shot from the centre of the box misses to the right. Assisted by Henrikh Mkhitaryan.

87:24

Foul by Lukasz Piszczek (Borussia Dortmund).

87:24

Benjamin Mendy (Marseille) wins a free kick on the left wing.

86:05 Goal scored

Goal! Goal! Marseille 1, Borussia Dortmund 2. Kevin Großkreutz (Borussia Dortmund) right footed shot from the centre of the box to the bottom left corner. Assisted by Julian Schieber.

84:38

Foul by Robert Lewandowski (Borussia Dortmund).

84:38

Steve Mandanda (Marseille) wins a free kick in the defensive half.

84:03

Corner, Borussia Dortmund. Conceded by Kassim Abdallah.

78:42 Substitution

Substitution Substitution, Marseille. Gianelli Imbula replaces Florian Thauvin.

78:03

Attempt missed. André-Pierre Gignac (Marseille) left footed shot from outside the box misses to the right. Assisted by Steve Mandanda.

77:12 Substitution

Substitution Substitution, Borussia Dortmund. Julian Schieber replaces Marco Reus.

77:06 Substitution

Substitution Substitution, Borussia Dortmund. Lukasz Piszczek replaces Sebastian Kehl.

76:45

Henrikh Mkhitaryan (Borussia Dortmund) wins a free kick in the attacking half.

76:45

Foul by Benoit Cheyrou (Marseille).

72:30

Foul by Nuri Sahin (Borussia Dortmund).

72:30

Jérémy Morel (Marseille) wins a free kick on the left wing.

71:29

Corner, Borussia Dortmund. Conceded by Kassim Abdallah.

70:07 Booking

Booking André-Pierre Gignac (Marseille) is shown the yellow card for a bad foul.

70:01

Marco Reus (Borussia Dortmund) wins a free kick on the left wing.

70:01

Foul by André-Pierre Gignac (Marseille).

69:18

Erik Durm (Borussia Dortmund) wins a free kick on the left wing.

69:18

Foul by Florian Thauvin (Marseille).

68:32

Attempt missed. Marco Reus (Borussia Dortmund) left footed shot from the centre of the box is too high. Assisted by Jonas Hofmann.

67:04

Nuri Sahin (Borussia Dortmund) wins a free kick in the defensive half.

67:04

Foul by André-Pierre Gignac (Marseille).

66:31

Attempt missed. Robert Lewandowski (Borussia Dortmund) right footed shot from the right side of the box is close, but misses to the right.

66:14

Foul by Robert Lewandowski (Borussia Dortmund).

66:14

Rod Fanni (Marseille) wins a free kick in the defensive half.

65:53 Substitution

Substitution Substitution, Borussia Dortmund. Jonas Hofmann replaces Jakub Blaszczykowski.

65:35

Marco Reus (Borussia Dortmund) wins a free kick on the left wing.

65:35

Foul by Kassim Abdallah (Marseille).

64:28

Attempt blocked. André-Pierre Gignac (Marseille) right footed shot from the centre of the box is blocked.

62:34

Offside, Borussia Dortmund. Nuri Sahin tries a through ball, but Henrikh Mkhitaryan is caught offside.

61:05

Attempt blocked. Robert Lewandowski (Borussia Dortmund) right footed shot from outside the box is blocked. Assisted by Erik Durm.

60:06

Corner, Borussia Dortmund. Conceded by Souleymane Diawara.

57:42

Attempt blocked. Jakub Blaszczykowski (Borussia Dortmund) right footed shot from outside the box is blocked.

56:51

Marco Reus (Borussia Dortmund) hits the right post with a right footed shot from the right side of the box. Assisted by Robert Lewandowski.

56:15

Attempt saved. Jakub Blaszczykowski (Borussia Dortmund) header from the left side of the six yard box is saved in the bottom left corner. Assisted by Kevin Großkreutz with a cross.

54:44 Substitution

Substitution Substitution, Marseille. Jérémy Morel replaces Saber Khalifa.

53:58

Henrikh Mkhitaryan (Borussia Dortmund) wins a free kick in the defensive half.

53:58

Foul by Mario Lemina (Marseille).

53:23

Offside, Borussia Dortmund. Marco Reus tries a through ball, but Robert Lewandowski is caught offside.

52:23

Attempt missed. Saber Khalifa (Marseille) right footed shot from outside the box is too high. Assisted by Florian Thauvin.

51:47

Attempt blocked. Jakub Blaszczykowski (Borussia Dortmund) right footed shot from the centre of the box is blocked.

50:26

Corner, Borussia Dortmund. Conceded by Benjamin Mendy.

50:24

Attempt blocked. Henrikh Mkhitaryan (Borussia Dortmund) right footed shot from the right side of the box is blocked. Assisted by Sebastian Kehl.

46:04

Attempt missed. Nuri Sahin (Borussia Dortmund) left footed shot from outside the box is high and wide to the right.

45:00

Second Half begins Marseille 1, Borussia Dortmund 1.

45:00 Substitution

Substitution Substitution, Marseille. Kassim Abdallah replaces Lucas Mendes because of an injury.

45:00 +4:00 Half time

Half Time First Half ends, Marseille 1, Borussia Dortmund 1.

45:00 +3:16

Corner, Borussia Dortmund. Conceded by Souleymane Diawara.

45:00 +0:57

Foul by Marco Reus (Borussia Dortmund).

45:00 +0:57

Rod Fanni (Marseille) wins a free kick in the defensive half.

45:00 +0:30

Marco Reus (Borussia Dortmund) wins a free kick in the defensive half.

45:00 +0:30

Foul by Florian Thauvin (Marseille).

44:42

Attempt blocked. Marco Reus (Borussia Dortmund) right footed shot from the centre of the box is blocked. Assisted by Jakub Blaszczykowski.

43:18

Foul by Robert Lewandowski (Borussia Dortmund).

43:18

Souleymane Diawara (Marseille) wins a free kick in the defensive half.

42:04

Foul by Jakub Blaszczykowski (Borussia Dortmund).

42:04

André-Pierre Gignac (Marseille) wins a free kick on the left wing.

41:51

Attempt blocked. Sebastian Kehl (Borussia Dortmund) left footed shot from the centre of the box is blocked.

40:54

Foul by Erik Durm (Borussia Dortmund).

40:54

Florian Thauvin (Marseille) wins a free kick in the defensive half.

37:44

Foul by Henrikh Mkhitaryan (Borussia Dortmund).

37:44

Benjamin Mendy (Marseille) wins a free kick in the defensive half.

37:05

Attempt saved. Florian Thauvin (Marseille) left footed shot from the right side of the box is saved in the bottom right corner.

35:55

Attempt missed. Jakub Blaszczykowski (Borussia Dortmund) right footed shot from outside the box is high and wide to the right. Assisted by Henrikh Mkhitaryan.

33:16 Dismissal

Dismissal Second yellow card to Dimitri Payet (Marseille).

33:14

Dimitri Payet (Marseille) has gone down, but that's a dive.

32:40

Foul by Robert Lewandowski (Borussia Dortmund).

32:40

Souleymane Diawara (Marseille) wins a free kick in the defensive half.

32:09

Corner, Borussia Dortmund. Conceded by Florian Thauvin.

31:33 Booking

Booking Dimitri Payet (Marseille) is shown the yellow card for a bad foul.

31:29

Jakub Blaszczykowski (Borussia Dortmund) wins a free kick in the attacking half.

31:29

Foul by Dimitri Payet (Marseille).

30:40

Attempt missed. Marco Reus (Borussia Dortmund) right footed shot from the centre of the box is high and wide to the right. Assisted by Robert Lewandowski.

29:12

Attempt blocked. André-Pierre Gignac (Marseille) right footed shot from outside the box is blocked. Assisted by Dimitri Payet.

25:40

Offside, Borussia Dortmund. Sokratis tries a through ball, but Henrikh Mkhitaryan is caught offside.

22:01

Foul by Henrikh Mkhitaryan (Borussia Dortmund).

22:01

Dimitri Payet (Marseille) wins a free kick in the defensive half.

17:01

Foul by Sebastian Kehl (Borussia Dortmund).

17:01

Florian Thauvin (Marseille) wins a free kick in the attacking half.

16:29

Offside, Borussia Dortmund. Erik Durm tries a through ball, but Robert Lewandowski is caught offside.

14:43

Foul by André-Pierre Gignac (Marseille).

14:43

Sebastian Kehl (Borussia Dortmund) wins a free kick in the defensive half.

14:12

Offside, Borussia Dortmund. Sokratis tries a through ball, but Henrikh Mkhitaryan is caught offside.

13:09 Goal scored

Goal! Goal! Marseille 1, Borussia Dortmund 1. Souleymane Diawara (Marseille) header from very close range to the top right corner following a set piece situation.

13:08

Saber Khalifa (Marseille) hits the bar with a header from the centre of the box. Assisted by Dimitri Payet with a cross following a set piece situation.

12:35

Dimitri Payet (Marseille) wins a free kick on the left wing.

12:35

Foul by Jakub Blaszczykowski (Borussia Dortmund).

10:57

Foul by Sebastian Kehl (Borussia Dortmund).

10:57

Benjamin Mendy (Marseille) wins a free kick in the defensive half.

10:52

Attempt blocked. Sokratis (Borussia Dortmund) header from the left side of the box is blocked. Assisted by Marco Reus with a cross.

10:26

Corner, Borussia Dortmund. Conceded by Lucas Mendes.

9:18

Attempt missed. Nuri Sahin (Borussia Dortmund) left footed shot from outside the box is too high. Assisted by Henrikh Mkhitaryan.

7:29

Foul by Mario Lemina (Marseille).

7:29

Robert Lewandowski (Borussia Dortmund) wins a free kick in the attacking half.

6:17

Delay over. They are ready to continue.

4:13

Delay in match Lucas Mendes (Marseille) because of an injury.

3:22 Goal scored

Goal! Goal! Marseille 0, Borussia Dortmund 1. Robert Lewandowski (Borussia Dortmund) left footed shot from the left side of the box to the bottom right corner. Assisted by Erik Durm.

2:00

Foul by Dimitri Payet (Marseille).

2:00

Kevin Großkreutz (Borussia Dortmund) wins a free kick on the right wing.

0:00

First Half begins.

0:00

Lineups are announced and players are warming up.

Live data and text provided by our data suppliers