What was the first country from Africa to qualify for the soccer World Cup?

In 1934, Egypt became the world cup’s first African team. When they again qualified in 1990, the two FIFA World Cup matches became the longest ever gap between teams: It’s been 56 years and 16 days.