WASHINGTON (AP) — The last-minute decision to send 3,000 U.S. troops to Afghanistan to help partially evacuate the U.S. Embassy is calling into question whether President Joe Biden will meet his Aug. 31 deadline for fully withdrawing combat forces. The vanguard of a Marine contingent arrived in Kabul on Friday and most of the rest of the 3,000 are due by Sunday.

Officials have stressed that the newly arriving troops’ mission is limited to assisting the airlift of embassy personnel and Afghan allies, and they expect to complete it by month's end. But they might have to stay longer if the embassy is threatened by a Taliban takeover of Kabul by then. On Friday the Taliban seemed nearly within reach of contesting the capital.

“Clearly from their actions, it appears as if they are trying to get Kabul isolated,” Pentagon spokesman John Kirby said, referring to the Taliban's speedy and efficient takedown of major provincial capitals across the country in recent days.

Biden had given the Pentagon until Aug. 31 to complete the withdrawal of the 2,500 to 3,000 troops that were in Afghanistan when he announced in April that he was ending U.S. involvement in the war. That number has dropped to just under 1,000, and all but about 650 are scheduled to be gone by the end of the month; the 650 are to remain to help protect the U.S. diplomatic presence, including with aircraft and defensive weapons at Kabul airport.

But Thursday's decision to dispatch 3,000 fresh troops to the airport adds a new twist to the U.S. withdrawal. There is no discussion of rejoining the war, but the number of troops needed for security will depend on decisions about keeping the embassy open and the extent of a Taliban threat to the capital in coming days.

Having the Aug. 31 deadline pass with thousands of U.S. troops in the country would be awkward for Biden given his insistence on ending the 20-year U.S. war by that date. Republicans have already criticized the withdrawal as a mistake and ill-planned, though there’s little political appetite by either party to send fresh troops to fight the Taliban.

Kirby declined to discuss any assessment of whether the Taliban are likely soon to converge on Kabul, but the urgent movement of extra U.S. troops into Afghanistan to assist the embassy drawdown is clear evidence of Washington's worry that after the rapid fall of major cities this week with relatively little Afghan government resistance, Kabul is endangered.

Kirby reiterated the Biden administration's assertion that Afghan security forces have tangible advantages over the insurgents, including a viable air force and superior numbers. The statement serves to highlight the fact that what the Afghan forces lack is motivation to fight in a circumstance where the Taliban seem to have decisive momentum.

Stephen Biddle, a professor of international and public affairs at Columbia University, said in an interview the announcement that 3,000 U.S. troops are heading to Kabul to help pull out American diplomats and embassy staff likely made Afghan morale even worse.

“The message that sent to Afghans is: ‘The city of Kabul is going to fall so fast that we can’t organize an orderly withdrawal from the embassy,'” Biddle said. This suggests to Afghans that the Americans see little future for the government and that “this place could be toast within hours.”

Kirby said lead “elements” of a Marine battalion arrived in Kabul on Friday as the U.S. speeds up evacuation flights for some American diplomats and thousands of Afghans. The rest of that battalion and two others are due in coming days.

The Pentagon also was moving an additional 4,500 to 5,000 troops to bases in the Gulf countries of Qatar and Kuwait, including 1,000 to Qatar to speed up visa processing for Afghan translators and others who fear retribution from the Taliban for their past work with Americans, and their family members.

The remainder — 3,500 to 4,000 troops from a combat brigade of the 82nd Airborne Division at Fort Bragg, North Carolina — were preparing Friday to depart for Kuwait “in very short order.” Kirby said the combat troops would be a reserve force on standby for whatever mission might be required in Kabul.

The temporary buildup of troops for U.S. evacuations highlights the stunning pace of the Taliban takeover of much of the country.

Friday's latest significant blow was the Taliban capture of the capital of Helmand province, where American, British and other allied NATO forces fought some of the bloodiest battles in the past 20 years. Hundreds of Western troops died there during the course of the war, in fighting that often succeeded in knocking back Taliban fighters locally, only to have the Taliban move back in when a Western unit rotated out.

The State Department said the embassy in Kabul will remain partially staffed and functioning, but Thursday's decision to evacuate a significant number of embassy staff and bring in the thousands of additional U.S. troops is a sign of waning confidence in the Afghan government's ability to hold off the Taliban surge. The Biden administration has not ruled out a full embassy evacuation or possibly relocating embassy operations to the Kabul airport.

There are a little over 4,000 personnel still at the embassy; the State Department has not said how many are being pulled out in the next two weeks.

The Biden administration warned Taliban officials directly that the U.S. would respond if the Taliban attacked Americans during the stepped-up deployments and evacuations.

Americans are preparing a military base abroad to receive and house large numbers of those Afghan translators and others as their visa applications are processed. The Biden administration has not identified the base, but earlier was talking with both Kuwait and Qatar about using U.S. bases there for the temporary relocations. State Department spokesman Ned Price said the U.S. soon will have evacuation planes flying out daily, for those Afghan translators and others who manage to reach the Kabul airport despite the fighting.

__

AP Diplomatic writer Matthew Lee contributed to this report.

Copyright 2021 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed without permission.