Germany completed a remarkable comeback to beat Argentina in a thrilling doubles decider and set up a Davis Cup semi-final against Spain.
Kevin Krawietz and Tim Puetz saved three match points in a final-set tie-break to overcome Horacio Zeballos and Andres Molteni 4-6 6-4 7-6 (12-10) in a gruelling contest lasting two hours and 31 minutes.
Argentina had put the first point on the board when world number 60 Tomas Etcheverry hit 23 aces to beat Jan-Lennard Struff 7-6 (7-3) 7-6 (9-7) in a high-quality encounter.
But world number three Alexander Zverev launched Germany's recovery, beating world number 21 Francisco Cerundolo 6-4 7-6 (7-3) to force the deciding doubles.