Last updated on .From the section 2014 Fifa World Cup

World Cup 2014: Germany 2-1 Algeria (aet) highlights

Germany survived a huge test of their World Cup credentials to see off underdogs Algeria in extra time and set up a quarter-final meeting with France.

The three-time champions lacked urgency throughout the 90 minutes. They frequently looked rattled as an enterprising Algeria wasted a succession of chances in an open, exciting encounter, before Andre Schurrle finished from close range early in the first additional period.

Mesut Ozil drilled in to double their lead and, although Abdelmoumene Djabou volleyed home to ensure a frantic end, a relieved Germany held on and will take on the French in Rio on Friday.

Andre Schurrle scores cheeky extra-time goal

The result looked inevitable once an impressive Algeria side began to tire, but Joachim Low's men will have to improve dramatically if they are to secure a first World Cup since 1990.

Germany are into the last eight for the 17th time in 18 World Cup appearances, but they lacked the fluency and cutting edge that has seen them installed among the tournament favourites.

Algeria could not mark their first experience of the knockout stage with a win, meaning Africa's representation in Brazil is over, but they depart with immense credit for a superb campaign.

Analysis Martin Keown MOTD analyst "Germany played such a high line with little pace in defence, and goalkeeper Manuel Neuer is incredible to sweep up after them. They flirt with danger and he gets them out of trouble. "Has there ever been a better sweeper keeper? He reads things wonderfully well."

The build-up was dominated by talk of them seeking revenge for 1982, when West Germany's convenient 1-0 win against Austria saw them both reach the second round at Algeria's expense.

They beat the Germans in the group stage that year and looked determined to produce a repeat.

With a 5-1-3-1 formation and five changes to their starting line-up that saw playmaker Yacine Brahimi drop to the bench, the Desert Foxes appeared to be set up defensively.

But, after an early spell of German pressure, they went in search of a shock lead and almost found it.

Germany keeper Manuel Neuer made a vital challenge on Islam Slimani after Faouzi Ghoulam's ball up the left wing eluded Per Mertesacker, and it subsequently took an important tackle from the Arsenal centre-half to deny the same man.

Match facts Andre Schurrle has scored five goals in his last five competitive matches for Germany. Germany's total of 28 shots (inc. blocked) is a record for this edition of the tournament. There have now been a record 27 goals scored by substitutes at this World Cup. Algeria (7) have scored more goals in this tournament than in their previous three World Cup finals combined (6).

Sofiane Feghouli then sliced through the Germany back line only to miscue his cross from a brilliant position, Slimani's diving header was correctly disallowed for offside and Ghoulam steamed through on the left but lashed his finish across goal and wide.

Germany eventually managed to exert an influence - Ozil's misdirected cross was tipped over the bar, Muller headed wide and keeper Rais Mbolhi spilled an Ozil drive - but Algeria refused to sit back and Mehdi Mostefa was the latest to come close with a strike that was deflected wide.

Mbolhi made a magnificent double save from Toni Kroos and Mario Gotze as Germany finished the half well, but it was no surprise when Gotze was replaced by Schurrle at the break.

The big question was whether Algeria would maintain their intensity or be punished for their missed chances and the answer nearly arrived when Schurrle's effort was deflected narrowly off target, before Shkodran Mustafi headed at Mbolhi and the goalkeeper pulled off a fine save from Philipp Lahm's shot.

Algeria responded by tightening up at the back and attempting to pounce on the counter-attack. Keeper Neuer was forced to operate as an auxiliary sweeper as Slimani escaped the German centre-backs, while Feghouli drilled wide and then Slimani lashed powerfully at Neuer.

At the other end, Mbolhi made another stunning stop from Muller's header while Esseid Belkalem and Ghoulam cleared off the line from Schurrle and Benedikt Hoewedes respectively.

Algeria were visibly tiring and after Muller and Bastian Schweinsteiger threatened a winner late in the 90 minutes, Schurrle finally broke the deadlock in the opening moments of extra time.

Muller crossed low from the left for the Chelsea forward to dispatch with an improvised finish. It was the 14th of Germany's last 24 World Cup goals that Muller has been involved it.

Ozil rammed in a second before substitute Djabou converted from Feghouli's cross, but there was no time to find another goal as Germany celebrated and Algeria made a tearful exit.

Algeria goalkeeper Rais Mbolhi:

"It's true we are part of Algeria football history, we went farther than any other team before.

"We have to build upon this performance for the future since we saw that Algeria is able to play on an equal footing at a very high level with other teams."

Algeria fans predict a repeat of their victory over (West) Germany in 1982

Germany's goalkeeper Manuel Neuer challenges Algeria's Islam Slimani

Algeria's goalkeeper Rais Mbolhi dives for the ball

Philipp Lahm forces a fine save from Rais Mbolhi

Bastian Schweinsteiger sees his header saved as the game heads into extra time

Germany's Andre Schurrle scores past Algeria's goalkeeper

Andre Schurrle celebrates his opening goal

Mesut Ozil scored what proved to be the winner

Abdelmoumene Djabou scores a late consolation for Algeria