Defending champions Germany were shown the door despite clinching a 3-2 win over Pakistan in the Group H fixture of the Socca World Cup in Greek island of Crete on Wednesday.
Germany had to win the game by a margin of six goals to stay alive in the competition while Pakistan were in a must-win situation in order to remain in contention to qualify for the next round.
With both sides failing to achieve the desired results, they have been knocked out of the competition following a topsy-turvy game.
Germany went in front in the 14th minute thanks to Jan Ademeit but the gritty Pakistan side came back in the second half as Mohammad Waheed scored the equaliser in the 22nd minute.
The two sides then battled hard into the second half with the defending champions gaining the upper hand in the 24th minute Niklas Kuhle making it 2-1.
The referee had his hands full on this one as three yellow cards were shown in space of just two minutes.
Germany had their respite with an own goal which gave them a two-goal lead as the second half was coming to a close. Mohammad Waheed netted his second for Pakistan but the game was over by then.
Pakistan will be looking to end things on a winning note as they play Hungary in their final group stage fixture on Thursday.