The game swung one way and then the other as after Shkodran Mustafi’s own goal Arsenal took a 3-1 lead thanks to Gabriel Martinelli (two) and Lucas Torreira, before James Milner’s penalty just before the break.

Ainsley Maitland-Niles restored the Gunners’ two-goal cushion, two goals in four minutes from Alex Oxlade-Chamberlain and Origi levelled things up and after Joe Willock scored a goal worthy of winning such a entertaining encounter Origi volleyed home in the fourth added minute to set up a shootout.

Only substitute Dani Ceballos missed, leaving Scouser and academy graduate Curtis Jones had the honour of scoring the winner in front of the Kop.

Mesut Ozil impressed for Arsenal at Anfield (Jon Super/AP)

Mesut Ozil, making only his third appearance of the season, had a hand in three of Arsenal’s goals but was withdrawn with Liverpool on top at 4-4.

It was the first time the former Germany international had featured in a match-day squad since the last round of the Carabao Cup, although mananger Unai Emery claims he remains in contention for Premier League games.

“We had decided beforehand (to take off Ozil). He worked well in 65 minutes,” he said.

“Ozil played very well. He played a very good match. We are going to play on Saturday and in my mind there’s the possibility to use him again.”