Egypt coach Javier Aguirre has become the first casualty of the ongoing Africa Cup of Nations.
He was sacked just hours after the hosts were bundled out of the tournament by South Africa in the round of 16 on Saturday in Cairo.
Hosts Egypt lost 0-1 after an 85th-minute goal from Thembinkosi Lorch.
It was for Egypt a lacklustre display in which their talisman Mohamed Salah looked out of sorts and they produced few goalscoring chances.
Egypt Football Association president Hany Abo Rida announced the firing of the Mexican coach.
Abo Rida also announced his own resignation, less than three hours after the game as a stunning host nation digested the defeat.
He also called on his board members to step down, calling his resignation a “moral obligation, although the football association had given the national team full material and moral support”.
Aguirre had told reporters after Saturday’s defeat that he took sole responsibility but was proud of all of his players.
“The game was open and saw many chances. The only difference was that South Africa managed to score,” he said.
Aguirre, 60, departs after less than a year in the job but not before setting a unique record by coaching at four different continental championships.
He won the CONCACAF Gold Cup with his native Mexico in 2009.
Aguirre took them to the final of the Copa America and was in charge of Japan four years ago when they went out in the Asian Cup quarter-finals.