Madrid - Dominic Thiem saved two match points to defeat Roger Federer 3-6, 7-6 (13/11), 6-4 and reach the Madrid Open semi-finals on Friday.
Austrian fifth seed and Barcelona champion Thiem will on Saturday play world No 1 Novak Djokovic who advanced on a walkover when opponent Marin Cilic withdrew with a stomach virus.
Federer, playing his first clay court event in three years, squandered two match points in the 15-minute second set tiebreak before Thiem levelled the tie on a sixth set point.
Results from the ATP and WTA tournaments in Madrid on Friday (x denotes seeding):
Men
Quarter-finals
Novak Djokovic (SRB x1) bt Marin Cilic (CRO x9) - walkover
Dominic Thiem (AUT x5) bt Roger Federer (SUI x4) 3-6, 7-6 (13/11), 6-4
Women
Semi-finals
Simona Halep (ROM x3) bt Belinda Bencic (SUI) 6-2, 6-7 (2/7), 6-0