Coast defeated Sudan 3–1, preventing Cameroon from travelling to Germany. In Cameroon's 2010 World Cup qualifying campaign, the team was grouped with Gabon, Togo and Morocco. After a slow start in their campaign with a loss to Togo, the coach of Cameroon, Otto Pfister, resigned. Frenchman Paul Le Guen was appointed as the new coach after a draw against Morocco. Le Guen's appointment caused an uprise in Cameroon's spirits as they earned a win against Gabon in Libreville, followed by another win against the Panthers four days later in Yaoundé. One month later, they defeated Togo in Yaoundé by three goals. On 14 November 2009, Cameroon defeated the Atlas Lions of Morocco 2–0 in Fez in their last match of their campaign. Gabon was also defeated by Togo 1–0 in Lomé. Both results caused Cameroon to qualify for the 2010 World Cup finals, held in South Africa. The Indomitable Lions were the first team to be mathematically eliminated in the 2010 World Cup, going out in their second group match to Denmark after losing 1–2, preceded by a 0–1 defeat to Japan. Cameroon started the 2017 Africa Cup of Nations competition with a 1–1 draw to Burkina Faso, followed by a 2–1 win against Guinea-Bissau, and an unconvincing goalless draw against the hosts Gabon. These results were enough for Cameroon to qualify from the group stage to the quarter-finals, where they met Senegal in a close match that Cameroon won 5–4 in a penalty shootout after it had ended goalless in extra time. In the semi-finals, Cameroon met Ghana and won the match 2–0 to qualify to the final. On 5 February 2017, and after a close match, Cameroon won the African Cup of Nations for the fifth time after defeating seven-time champions Egypt 2–1 in the final, by Vincent Aboubakar's late goal in the 89th minute of the match. As champions, Cameroon qualified for the 2017 FIFA Confederations Cup in Russia, where they were eliminated in the group stage. Cameroon qualified for the 2022 World Cup in Qatar via the away goals rule after defeating hosts Algeria 2-1 on 29 March 2022 thanks to Karl Toko Ekambi's winner in the 124th minute of the second leg of their CAF third round home-and-away tie with The Fennec Foxes. On 2 December 2022, in the final match of Group G, The Indomitable Lions made history by becoming the first African country