Egypt have progressed to the quarter-finals of the 2020 Tokyo Olympics after beating Australia 2-0 in their final group game on Wednesday.
Ahmed Yasser Rayan and Ammar Hamdi were the scorers for Egypt in a game they needed nothing else but a win.
The Young Pharaohs found themselves in a tough group that consisted of Spain, Argentina, and Australia, but managed to progress to the knockout stage.
They started with a 0-0 draw against Spain before they lost to Argentina with a 1-0 scoreline in their second group game.
Egypt's Akram Tawfik was yellow-carded in the 36th minute for a foul on an opponent before Rayan scored for the African side with an assist from Ramadan Sobhi in the 44th minute.
Australia made a change in the 46th minute as Keanu Baccus came on when Denis Genreau was removed. Another change was made when Dylan Pieres came off as Daniel Arziani was taken out a minute after the first change.
Egypt's first change was effected a minute after the hour mark when Salah Mohsen was substituted by Hamdi. Australia's Jay Rich Baghuelou came on for Lachlan Wales in the 63rd minute before Baccus was yellow-carded in the 77th minute as the side upped the tempo in search of an equaliser.
Two more changes for Egypt were made in the 79th minute as Ibrahim Adel and Nasser Mansi were thrown into action to fill the places of Taher Mohamed and Ahmed Ryan.
Hamdi scored the second goal for the North African side in the 85th minute before a further change was made in the 90th minute when Nasser Maher entered the game and replaced Ramadan Sobhi.
Emam Ashour was brought on in the additional minutes when Tawfik was rested as Egypt fought hard not to concede in the seven minutes that were added.
Caleb Watts was replaced by Nicholas D'Agostino as Conor Metcalfe paved the way for Cameron Delvin in the second minute of added time.
Egypt's Hamdy was yellow-carded towards the end of the encounter.
Generally, both sides won six corners, while Australia had six shots on target compared to Egypt's two. The African team registered six shots off target while their opponents saw four of their shots fly off target.
Each side committed 14 fouls as Australia were flagged down for offside twice compared to Egypt's four instances.