Germany's football federation sacked Hansi Flick as national team head coach Sunday in the wake of their 4-1 friendly loss to Japan.

Hajime Moriyasu's Japanese side defeated the four-time world champions for the second time in less than a year Saturday at Wolfsburg's Volkswagen Arena, having also prevailed 2-1 at the World Cup last November.

While the Group E victory in Qatar was a tense come-from-behind affair, Saturday's friendly was dominated from the outset by the Samurai Blue. 

Junya Ito and Ayase Ueda found the net in the first half, while super sub Takefusa Kubo set up late goals for Takuma Asano and Ao Tanaka.

Japan players celebrate after their 4-1 win over Germany in an international friendly football match in Wolfsburg, Germany, on Sept. 9, 2023. (Kyodo) 

The humbling result proved to be the final straw for the German Football Association (DFB), which is desperate to turn things around ahead of hosting next year's European Championship.

Germany have managed just four wins in their last 17 internationals, with their World Cup loss to Japan leading to a second consecutive group-stage exit from the tournament.

DFB director Rudi Voller will take charge for Germany's next friendly against France in Dortmund on Tuesday.

"Hansi Flick worked incredibly hard over the past few months with his coaching team to try and turn things around after the World Cup in Qatar," Voller said in a statement from the DFB.

"Unfortunately though, he hasn't been able to do so. The Japan game clearly showed us that we couldn't carry on like this."

Japan will face Turkey in a friendly in Genk, Belgium, on Tuesday.

Related coverage:

Football: Japan stun Germany again with 4-1 away win in friendly

Football: Japan thrash 10-man El Salvador, Ueda scores maiden goal

Football: Kubo nets Sociedad's 1st goal of season in draw with Girona