Lawyers for Argentina and a group of bondholders managed to stop the clock on a looming debt repayment that might have thrown the country into default in a mere two weeks.

In response to emergency briefs filed this week by Argentina’s lawyers at Cleary Gottlieb Steen & Hamilton and counsel for the bondholders at Boies, Schiller & Flexner, the U.S. Court of Appeals for the Second Circuit agreed Wednesday to stay a Nov. 21 order forcing Argentina to make a $1.3 billion payment to separate group of investors.