PORTO ALEGRE, Brazil - A delightful goal from Andre Schuerrle and a counter-attack converted by Mesut Ozil carried a sloppy Germany into the World Cup quarter-finals, beating Algeria 2-1 in extra-time.
The opening goal of the Porto Alegre contest came two minutes into extra-time when Schuerrle directed a lovely backheel flick into the far corner. Ozil decided the tie in the 120th minute after Schuerrle's shot was cleared from the line.
Algeria managed a consolation through Abdelmoumene Djabou but could not stop Germany reaching the next round.
Germany meet France, who needed two late goals to dispatch Nigeria earlier yesterday, in Rio de Janeiro on Saturday in the quarter-final.
The game was a rematch of one of the World Cup upsets from Spain 1982 when Algeria secured a 2-1 group stage win over West Germany in Gijon. An earlier victory in a 1964 friendly put them in the rare position of holding a 100 per cent record over their opponents with two wins out of two.
That proud record came to an end despite a heroic effort against more illustrious opponents. It was a moment of true quality from Schuerrle, making the most of the slightest space on the edge of the six-yard box, which first separated the teams.
Germany never looked like losing the lead and substitute Christoph Kramer could have made things safe even before Ozil lashed home the eventual winner, capitalising when Schuerrle was denied by a goalline clearance as he looked to complete a break away.
In the dying seconds Djabou converted a cross by Sofiane Feghouli at the back post but there was no chance to seriously threaten an equaliser.
Algeria Coach Vahid Halilhodzic made five changes from the starting eleven named in the final group game against Russia, and his side flooded forward on the break at every opportunity.