the group stage, after being equal on points and goal difference. The 2006 Africa Cup of Nations was hosted in Egypt; the hosts were in Group A with Libya, Morocco, and the Ivory Coast. Egypt defeated Libya 3–0, tied 0–0 against Morocco, and won 3–1 against the Ivory Coast. Egypt would eventually win the tournament on penalties, and would also win the 2008 and 2010 tournaments. They would then fail to qualify for the next three AFCON tournaments. Egypt qualified for the 2017 tournament, drawing against Mali in their first match in Group D. Successive 1–0 wins against Uganda and Ghana saw the Pharaohs qualify to the quarter-finals as group winners. Egypt faced Morocco at the quarter-final stage, and defeated them for the first time in 31 years to set up a semi-final clash with Burkina Faso. Mohamed Salah's goal against the Stallions was canceled out by an Aristide Bancé strike; however, veteran goalkeeper Essam El Hadary saved two spot-kicks in the penalty shootout to earn a spot in the final for Egypt. Egypt then faced Cameroon, and lost the final for the second time. In the 2019 Africa Cup of Nations, hosts Egypt were knocked out by South Africa in the round of 16, despite three wins in the group stage. In the 2021 Africa Cup, Egypt went to the final despite dire performances in the group stage and beating Ivory Coast on penalties after a 0–0 draw. Egypt then beat Cameroon 3–1 in penalties after a 0–0 draw, to reach their 10th final, beating Ghana's record of final appearances. Egypt suffered their first of two losses to Senegal in 2022, both on penalties (in the AFCON final and in World Cup qualifying), both winning penalties scored by Sadio Mané. FIFA World Cup Egypt has qualified for the FIFA World Cup three times: in 1934, in 1990 and for the 2018 editions. Egypt was the first African country to qualify for the World Cup, beating Mandatory Palestine. It lost to Hungary 4–2 in their first and only match in 1934. In 1990, Egypt qualified after beating Algeria 1–0 in the playoffs. They were drawn in Group F, with Ireland, England and the Netherlands. Since the Egyptians favored defensive tactics, they scored only one goal in the 1990 World Cup. A 1–1 draw with UEFA Euro 1988 champions Netherlands gave the Egyptians their first point in the World Cup. This