(Bloomberg) -- U.S. Secretary of Defense Lloyd Austin paid an unannounced visit to Afghanistan on Sunday, the Associated Press said, citing local media reports.

The stop comes as President Joe Biden is under pressure to decide whether to abide by an Afghanistan peace deal reached in Donald Trump’s final year aimed at bringing home the roughly 2,500 troops remaining in the country by May 1. It’s a deadline that Biden has said “could happen” but would be “tough” to meet.

“I’m in the process of making that decision now as to when they’ll leave,” Biden told ABC News. “That was not a very solidly negotiated deal that the president -- the former president -- worked out.”

Austin pledged in February a “thoughtful and deliberate” review of U.S. strategy in Afghanistan, saying there would be “no surprises” for the Afghan government or allies with troops in the country.

A deal reached last year provided the opportunity to wind down the U.S. role, but on condition that violence declined, the Taliban pledged to bar terrorist groups like al-Qaeda and Islamic State from operating in the country and the government and the Taliban entered productive peace talks. That process dragged out, but the Trump administration stuck with it. The Taliban, on the cusp of seeing foreign forces depart, largely held off on attacking Americans.

Despite last year’s accord, the security situation in Afghanistan is worsening. Violence has climbed since the peace talks started in September of last year, including targeted killings of journalists, civil society members and politicians. In 2020, 8,820 Afghan civilians were killed or wounded, according to the United Nations.

Previous peace efforts between the Taliban insurgents and Ghani’s government in Doha, Qatar, have made little headway, with the two sides taking months even to agree on the basic outline of the talks.

Secretary of State Antony Blinken said in a letter to Ghani that even with continued U.S. financial aid, “the Taliban could make rapid territorial gains” if the U.S. withdraws and there’s no agreement reached between the Afghan government and the Taliban. He added bluntly, “I am making this clear to you so that you understand the urgency of my tone regarding the collective work outlined in this letter.”

Austin’s reported stop in Afghanistan comes after a trip that took him to Japan, South Korea and India.

©2021 Bloomberg L.P.