The South African Football Association says it has an agreement with Libya's football federation to host the 2013 African Cup of Nations in place of the troubled north African nation.

SAFA says the signed agreement will see Libya stage the 2017 Cup of Nations, which was awarded to South Africa.

SAFA adds the deal to swap tournaments must still be confirmed by the continent's ruling body, the Confederation of African Football, at its next executive committee meeting in Cairo on Sept. 28.

The agreement also covers the 2014 African Nations Cup, a tournament for emerging players, which was also to be hosted by Libya.

Libya's staging of Africa's top football championship was in doubt since the uprising against dictator Moammar Gadhafi.