As the post-match celebrations continued into the early hours of Friday, young people honked horns and drove madly through the streets, resulting in car accidents that wounded 31 people across the country, according to police. Two young men died in separate car crashes.
After Algeria's 4-2 upset win over South Korea last week, there were five deaths from car accidents, and one man died after having a heart attack during the second goal.
French national police said on Friday that 74 people were detained around the country after overnight incidents.
In Marseille, youths climbed on signs and cars, waving Algerian green-and-white flags in triumph.
In the Algerian capital, the Algiers center was packed with jubilant youths as soon as the match ended in Brazil late Thursday in a 1-1 draw with Russia. That allowed Algeria to qualify for the round of 16, where it will meet Germany on Monday.
In rare statement, Algeria's ailing President Abdelaziz Bouteflika hailed the team's "brilliant qualification."
People watched the matches on giant screens set up around the cities. In Algiers, as soon as the final whistle blew, the massive crowd outside the iconic colonial-era post office erupted into cheers and fireworks until the air was blanketed in smoke.
