the signing of Carlos Queiroz to replace Hossam El Badry. 2021 Africa Cup of Nations At the beginning of the tournament, the Egyptian team suffered a loss against its Nigerian team in the first round of Group D of the African Nations Cup. Egypt defeated Guinea Bissau with a goal scored by Mohamed Salah, giving Egypt the first victory in the second round of Group D. After that, Egypt defeated Sudan with a goal scored by Mohamed Abdel Moneim in the match, to raise the national team’s score to 6 points in the third round of Group D, and Egypt qualified for the round of 16. The Egyptian national team qualified for the quarter-finals by penalty shootout, after defeating Ivory Coast 5–4 in the round of 16. In the quarter-final match, Egypt won 2–1 against Morocco. In the semi-final match, Egypt qualified for the final by defeating the host nation Cameroon 3–1 on penalties. This win marked for the first-time ever Queiroz had guided a national team into the final of a competitive football tournament. However, Queiroz could not achieve the glory when Egypt lost to Senegal after penalty shootouts. 2022 World Cup qualification Egypt qualified for the third round of the World Cup qualifications to face Senegal for a spot in the World Cup in Qatar. However, after a 1–0 win in Cairo, and a 1–0 loss in Dakar, Egypt lost again on penalties; hence, they failed to reach the final competition. He later agreed with the Egyptian Football Association to terminate his contract by mutual consent. Return to Iran On 7 September 2022, he was rehired for a second spell as Iran coach ahead of the 2022 FIFA World Cup, his third World Cup with the country. Iran were knocked out in the group stage. Throughout the World Cup, Queiroz's short-lived tenure was plagued by political turmoil in Iran; Queiroz himself showed his tacit opposition to the Iranian government while criticised others for weaponising the issue in Iran. Qatar Queiroz was appointed manager of the Qatar national team in February 2023, succeeding Félix Sánchez, who led them at the 2022 FIFA World Cup which they hosted. Controversy Prior to the final 2014 World Cup qualification match against South Korea, Queiroz was angered by the comment made from Choi Kang-hee, the head coach of South Korea, who complained that Iran did not provide the training facilities with sufficient qualities