South Africa suffered a major embarrassment on Sunday as a 2-0 defeat by Sudan in Khartoum saw the hosts clinch a place at the Africa Cup of Nations finals at the visitors' expense with first-half goals from Saifeldin Maki and Mohamed Abdel Rahman.
Sudan qualified for only the third time in 23 attempts, finishing second in Group C behind Ghana, who won 3-1 at home to Sao Tome e Principe at the same time.