Germany sensationally crashed out of the World Cup despite beating Costa Rica at Al Bayt Stadium.
When Flick's men first took the lead, it looked like a case of how many. Instead, though, the CONCACAF side found a response in a similar manner to Japan in Germany's first group game, with Keysher Fuller stinging the palms of Manuel Neuer before levelling through Tejeda.
Japan's controversial 2-1 victory against Spain would have eliminated Germany anyway, but Hansi Flick's side needed three points to give themselves any chance of reaching the last 16.
Japan's winning goal, which knocked Germany out, was rather controversial, with some believing the ball went out of play before Kaoru Mitoma crossed it to Ao Tanaka, who went on to score.
However, a lengthy VAR check followed the goal, and it was ruled in Japan's favor, with officials saying the whole of the ball had not crossed the line.