France stunned holders United States to dump them out of the FIBA World Cup with an 89-79 quarter-final victory on Wednesday.
France will meet Argentina on Friday for a berth in Sunday's final while 2006 champions Spain take on Australia who beat the Czech Republic 82-70 in the remaining quarter-final.
The United States, favourites to win their third successive and sixth overall world title, dropped into the 5-8th place play-offs after they failed to reach the medal rounds for the first time since the 2002 tournament in Indianapolis.
Get NBA news on your phone
Want the latest NBA news, features and highlights on your phone? Find out more
The Americans were beaten in a last-eight clash by the former Yugoslavia in that tournament and they next face Serbia, who were billed as their most likely rival in a gold-medal clash in this year's event.
Having ground out a barely deserved 93-92 overtime win over Turkey in the preliminary group stage, there was to be no escape for the US this time against an athletic French side who overpowered them in every department.
Sync NBA fixtures to your phone
Sync your team's 2019-20 NBA schedule, plus NBA Saturdays and NBA Sundays, to your phone's calendar
An aggressive French defence forced a flurry of first-half turnovers and having engineered a 45-39 half-time lead, they surged 51-41 early in the third quarter thanks to inspired performances from Evan Fournier and Rudy Gobert.
As the duo began to tire, Team USA hit back thanks to a one-man show from Donovan Mitchell, who netted 14 of his game-high 29 points in the third quarter to give the 2014 champions a 66-63 lead ahead of the final 10 minutes.
But Mitchell stayed scoreless in the fourth quarter while his Utah Jazz team mate Gobert and Orlando Magic guard Fournier hit top gear.
Trailing 72-65, France went on a 17-4 run and cool free-throw shooting in the last 90 seconds of the clash gave them a memorable win as Gobert finished with 21 points and 16 rebounds while Fournier netted 22 points.
The towering Gobert also produced two crucial blocks in the final minute as the Americans lost their momentum and threw away several key possessions.
The only positive they will take from the tournament is that they have qualified for next year's Olympics in Tokyo alongside Australia, Argentina, Iran and Nigeria.
Australia point guard Patty Mills' performances at the basketball World Cup have helped propel his team into a hot favourite for the title.
The Boomers advanced to their first World Cup semi-final with an 82-70 victory over the Czech Republic with Mills scoring 24 points while adding six assists and four rebounds.