The result was a breakthrough for a country with seven African Cup of Nations titles but a modest World Cup record.