(WASHINGTON) — President Joe Biden plans to say Wednesday that he is withdrawing all U.S. troops from Afghanistan before the 20th anniversary of the Sept. 11 attacks because “it is time to end America’s longest war.”

“We went to Afghanistan because of a horrific attack that happened 20 years ago,” Biden will say in remarks Wednesday afternoon, according to excerpts released by the White House. “That cannot explain why we should remain there in 2021.”

The president plans to formally announce the withdrawal in the White House Treaty Room — the same place George W. Bush announced the launch of the war on Oct. 7, 2001 just weeks after the 9/11 attacks. Immediately afterward, Biden is scheduled to visit Arlington National Cemetery’s Section 60, where many service members who died in Afghanistan and Iraq are buried.

There are roughly 2,500 U.S. troops in Afghanistan now, and Biden planned to formally announce his plans to withdraw them by Sept. 11 this year, U.S. officials said Tuesday.

The withdrawal will not be based on conditions on the ground — abandoning what had been the longstanding U.S. policy, a senior Biden administration official said.

“We cannot continue the cycle of extending or expanding our military presence in Afghanistan hoping to create the ideal conditions for our withdrawal, expecting a different result,” Biden will say Wednesday, according to the White House.

Biden plans to say that “rather than return to war with the Taliban,” the United States has to “focus” on other “challenges,” according to the White House.

“I am now the fourth American president to preside over an American troop presence in Afghanistan,” Biden will say. “Two Republicans. Two Democrats. I will not pass this responsibility to a fifth.”

The United States has determined the ability of terrorist groups like al-Qaida to launch attacks inside the United States — a motivation for the wars in Afghanistan and Iraq — had diminished and no longer required a robust presence in Afghanistan, according to the administration.

News of Biden’s coming announcement prompted swift blowback from Republicans on Capitol Hill — with some Democratic opposition, too.

But Senate Majority Leader Chuck Schumer, a Democrat, praised it as better conceived than former President Donald Trump’s failed attempt to do the same.

“This isn’t President Trump waking up one morning and announcing some random withdrawal with generals scrambling,” Schumer said Wednesday. “This will be carefully thought out.”

The United States plans to continue participating in peace talks with the Taliban and the Afghan government, according to the administration.

But those talks are now stalled at best — and dead at worst. The Taliban’s spokesperson tweeted Tuesday that the group will not participate in any negotiations “until all foreign forces completely withdraw from our homeland.”

On Wednesday, Biden will also explain that the U.S. will continue to provide military assistance to Afghanistan’s defense and security forces, as well as continue humanitarian work in the country, according to the White House.

The president spoke with his Afghan counterpart, Ashraf Ghani, on Wednesday.

Ghani tweeted that “Afghanistan respects the U.S. decision and we will work with our U.S. partners to ensure a smooth transition.”

He pointedly added, “Afghanistan’s proud security and defense forces are fully capable of defending its people and country, which they have been doing all along, and for which the Afghan nation will forever remain grateful.”

Republican members of Congress blasted the decision, with Senate Minority Leader Mitch McConnell on Tuesday calling the move “a grave mistake” and a “retreat and abdication of American leadership.”

The top Republican on the House Foreign Affairs Committee, Rep. Michael McCaul of Texas, said not leaving a residual force behind — an idea Biden had supported as a presidential candidate — would “put Afghans at risk” and “endanger the lives of U.S. citizens at home and abroad.”

“Arbitrary deadlines would likely put our troops in danger, jeopardize all the progress we’ve made, and lead to civil war in Afghanistan — and create a breeding ground for international terrorists,” the most senior Republican on the Senate Armed Services Committee, Sen. Jim Inhofe of Oklahoma, said. “We’re talking about protecting American lives here.”

The president also faced opposition from Democratic Sen. Jeanne Shaheen of New Hampshire, a member of the Senate Foreign Relations Committee, who said that she was strongly against the move.

“Although this decision was made in coordination w/our allies, the U.S. has sacrificed too much to bring stability to Afghanistan to leave w/o verifiable assurances of a secure future,” she wrote in a tweet.

“It undermines our commitment to the Afghan people, particularly Afghan women. I urge the Biden admin to make every effort between now and September to safeguard the progress made and support our partners in the formation of an inclusive, transitional government,” she continued.

The Biden administration official said that “we have told the Taliban in no uncertain terms that any attacks on U.S. troops as we undergo a safe and orderly withdrawal will be met with a forceful response.”

But also on Tuesday, the U.S. Office of the Director of National Intelligence released an assessment that said “prospects for a peace deal will remain low during the next year.”

“The Taliban is likely to make gains on the battlefield, and the Afghan Government will struggle to hold the Taliban at bay if the coalition withdraws support,” the assessment read.

American troop levels reached a high of 100,000 troops in August 2010 and stayed at that level for much of the next year. More than 2,300 U.S. troops have died and another 20,000 have been wounded since October 2001.

The senior official said that the drawdown would begin before the end of this month and could finish before Sept. 11, which the official called “the outside date by which it will be completed.”

“We judge the threat against the homeland now emanating from Afghanistan to be at a level that we can address it without a persistent military footprint in the country and without remaining at war with the Taliban,” the official said.

The administration official told reporters that U.S. intelligence agencies have determined that the group behind the Sept. 11 attacks, al-Qaida — which the Taliban protected — does “not currently possess an external-plotting capability that can threaten the homeland.”

White House press secretary Jen Psaki said Tuesday that Biden “has to make decisions through the prism of what’s in the interests of the national security of the United States.”

“That includes keeping our focus on where the threats are emerging around the world, whether those are emerging threats from al-Qaida in parts of North Africa, or other threats or opportunities we see in other regions,” Psaki said. “And hence, those are big motivating factors in his decision.”

Last month, Biden told ABC News’ George Stephanopoulos it would be “tough” for the U.S. to meet a May 1 deadline to withdraw troops from Afghanistan.

The May 1 deadline was part of an agreement the Trump administration signed with the Taliban, which agreed to negotiate with the Afghan government, including on a permanent cease-fire, and prevent Afghanistan from becoming a safe haven for terror groups like al-Qaida.

In February, a report by the Department of Defense’s inspector general found that “it was unclear whether the Taliban was in compliance with the agreement, as members of al-Qaeda were integrated into the Taliban’s leadership and command structure.”

With a date now set, the Afghan government will now face heightened pressure to agree to an interim government with the Taliban — a U.S. proposal its leaders have so far rejected — before Afghan authorities lose American military support.

While the decision likely strengthens the Taliban’s hand in negotiations, the militant group will remain under pressure to reach a deal with the government. Negotiations between the two sides have long stalled, although they are expected to meet on April 24 in Istanbul in a final push for an agreement.

There have been no U.S. combat deaths since Feb. 8, before the U.S.-Taliban peace agreement was signed. While the Taliban had agreed to not attack U.S. troops, it did warn that if they didn’t leave by May 1 they would resume. In the meantime, Afghans have suffered increased violence.

More than 43,000 Afghan civilians have been killed, according to the Watson Institute at Brown University.

Copyright © 2021, ABC Audio. All rights reserved.