Serbia and France will meet in Friday’s semifinal in Madrid for a ticket to Sunday’s gold-medal game. The other semifinal pits Lithuania against United States of America in Barcelona on Thursday.

With another masterful performance over a higher-ranked team in a do-or-die scenario, Serbia is heading to the medal rounds after erasing Brazil from the quarterfinals. With Teodosic running the show from the opening tipoff, Serbia controlled the tempo until exploding after halftime to lead by as many as 31 points en route to victory.

Teodosic hit 10 of 10 free throws and scored all of his 23 points in the first three quarters for Serbia. Nemanja Bjelica and Bodgan Bogdanovic of Fenerbahce Ulker Istanbul combined for 20 more points, while Miroslav Raduljica and Nenad Krstic of Anadolu Efes Istanbul scored 10 each, and Stefan Markovic of Unicaja Malaga added 9. Bjelica added 8 rebounds and 5 assists, Bogdanovic 6 rebounds and 2 blocks.