In 2011, Morocco won the bid to host the 2015 edition, and Libya won the right to host the 2013 tournament, but the 2011 Libyan civil war prompted Libya and South Africa to trade years, with South Africa hosting in 2013 and Libya hosting in 2017. Ongoing fighting in Libya ultimately prompted CAF to move the 2017 tournament to Gabon.)