Fifa – it all came down to a penalty shootout, which was marred by lasers aimed at Mohamed Salah and his teammates.
Senegal won on penalties 3-1 to secure their place in Qatar. However, there has been a bitter fallout, with Egypt making accusations about their treatment in Dakar.
Security guards surrounded Salah as Senegal fans went overboard with their celebrations in Dakar.
Officials shielded the Liverpool star as he walked down the tunnel, despite missiles aimed at him.