WASHINGTON — The Trump administration is preparing to withdraw thousands of troops from Afghanistan in exchange for concessions from the Taliban, including a cease-fire and a renunciation of al-Qaida, as part of an initial deal to end the nearly 18-year-old war, U.S. officials say.

The agreement, which would require the Taliban to begin negotiating a larger peace deal directly with the Afghan government, could cut the number of American troops in the country from roughly 14,000 to between 8,000 and 9,000, the officials said. That number would be nearly the same as when Donald Trump took office.

The plan has taken shape after months of negotiations between the Taliban and Zalmay Khalilzad, an Afghan-born American diplomat who was appointed by the Trump administration last year to jump-start talks. Officials said an agreement could be finalized ahead of the Afghan presidential election in September, though they cautioned that Taliban leaders could delay and that significant challenges remain.

The proposal is likely to be viewed skeptically by some U.S. and Afghan officials who question the Taliban's honesty and wonder how the United States can verify whether Taliban leaders are following through. But if approved, it would be one of the most significant steps toward ending the war, a goal that increasingly has bipartisan support.

"I would say that they are 80 or 90 percent of the way there," said one official, who like others spoke on the condition of anonymity to discuss details of the emerging deal. "But there is still a long way to go on that last 10 or 20 percent."

A Taliban spokesman, Zabiullah Mujahid, declined to comment about the likelihood of an initial agreement. In a brief telephone interview Thursday, he said he did not know when talks would resume.

"We are hopeful," he said. "Things look promising that there will be a breakthrough. We hope there won't be any obstacle, but it also depends on the seriousness of the Americans."

Khalilzad said in a tweet Wednesday that he plans to resume his next round of talks with the Taliban in Qatar soon and that if the group does its part, an agreement will be finalized.

Additional cuts to U.S. forces would be negotiated as part of discussions involving the Taliban and the Afghan government, U.S. officials said.

Army Gen. Austin "Scott" Miller, the top U.S. commander in Afghanistan, is open to the proposal, two defense officials said, because he believes it would protect U.S. interests by maintaining a counterterrorism force that can strike the Islamic State and al-Qaida. Miller, who took command in Kabul last September, previously has said that political negotiations are "absolutely" a key to ending the war.

"Neither side will win it militarily, and if neither side will win it militarily you have to move . . . towards a political settlement here," he said in an interview with ABC News in February.

A spokesman for Miller, Army Col. Sonny Leggett, declined to comment.

U.S. officials acknowledged there are legitimate concerns that the Taliban might not break with al-Qaida, as Washington has demanded, or stand up to the Islamic State. Still, officials may be content with a partial troop withdrawal that opens the door to additional negotiations and keeps the counterterrorism mission alive as the status quo becomes politically untenable.

The Taliban has refused to talk with the Afghan government, which it calls a puppet regime, until it reaches a deal with the United States on its troops.

A Pentagon spokesman, Cmdr. Sean Robertson, said the Defense Department has not been ordered to withdraw forces from Afghanistan - a point that other officials describing the potential deal also stressed. Robertson declined to discuss what a partial troop withdrawal could include, saying the department does not comment on military planning.

"Our strategy in Afghanistan is conditions-based," Robertson said. "Our troops will remain in Afghanistan at appropriate levels so long as their presence is required to safeguard U.S. interests."

Afghan government officials, speaking on the condition of anonymity because of the sensitivity of the discussions, said they expected that an initial U.S. deal with the Taliban would include some U.S. troop reductions but did not know what numbers or timetable might be proposed.

The officials said they were pleased to hear that a U.S. proposal would require the Taliban to meet with them. But some expressed concerns that a partial pullout would embolden the Taliban.

"The Americans call this a peace negotiation, but the Taliban definitely perceive it as a withdrawal negotiation," one Afghan official said.

A State Department official rejected that view, saying the United States is pursuing "peace" not "withdrawal."

In recent weeks, U.S. visitors to Afghanistan have included Marine Gen. Joseph Dunford Jr., the chairman of the Joint Chiefs of Staff; Marine Gen. Kenneth McKenzie, the chief of U.S. Central Command; and Secretary of State Mike Pompeo.

The task of explaining the negotiations in Afghanistan to the American public has fallen to Pompeo. On Monday, when asked whether he expected a reduction in U.S. forces before the 2020 election, he said, "That's my directive." The following day, he clarified his remarks, saying that "there is no deadline" for the mission there and accusing the news media of misinterpreting his words.

The president wants to draw down forces "just as quickly as we can get there, consistent with his other mission set, which is to ensure that we have an adequate risk reduction plan for making sure that there is not terror that's conducted from Afghanistan," Pompeo told reporters aboard his plane en route to Thailand.

Trump said this week that he did not know whether all troops will come home from the war before the U.S. election. "We hope in the coming days that we will be able to urge the Taliban to talk," he said.

Cutting the troop level to 9,000 would require commanders in the field to make some tough decisions on which bases to close and which missions to curtail, and on whether to scale back advising Afghan troops.

One person with familiarity with Miller's thinking said the general is sure to want to keep open Bagram air base, from which the United States launches counterterrorism strikes in Afghanistan's eastern mountains. The military also is likely to maintain a significant presence in Kabul, where there are numerous bases, and some troops at Kandahar Airfield, the largest U.S. base in the south.

Meanwhile, U.S. officials say that German troops are likely to keep a presence in northern Afghanistan and that Italian troops will remain in the west.

But some Afghan officials fear that a preliminary deal outlining a U.S. withdrawal could weaken their negotiating position during intra-Afghan talks and eventually leave them alone to fight the battle-hardened Taliban.

One of the concerns is that gains made since the fall of the Taliban could be erased if the group, which seeks to reestablish an Islamic emirate, becomes part of a power-sharing government. Women's rights groups are especially concerned, given the Taliban's restrictions on women and opposition to educating girls. But the State Department says it has secured agreement with the Afghan government on "next steps on the Afghan peace process."

In the absence of formal talks between the Afghan government and the Taliban, the militant Islamist group has been willing to meet with a delegation of Afghan leaders in Qatar in recent weeks, with the understanding that the Afghans are not acting in an official government capacity. Though the Taliban officials were reportedly welcoming, progress was not made on preserving fundamental freedoms, according to media reports citing people who attended the meetings.

The State Department declined to comment on the details of the drawdown agreement, but an official said that "any future reductions or withdrawal of forces will be conditions-based."

State Department officials say a breakthrough hinges on an agreement on four issues: counterterrorism assurances, troop withdrawal, intra-Afghan dialogue and a comprehensive cease-fire. In March, Khalilzad said that he reached agreement on a draft containing the first two points but that a final deal would not conclude "until everything is agreed."

Khalilzad spent the past 10 days in Kabul for consultations with Afghans in what he described to one reporter as his "most productive visit" there since becoming special envoy. Next he will travel to Pakistan and then Qatar to continue talks with the Taliban, a State Department official said.

In another indication that a force-reduction deal may soon be reached, the Afghan government named a 15-member team Wednesday to negotiate directly with the Taliban. Meetings with the Taliban and the Afghan government would proceed after the U.S. and Taliban officials reach their preliminary deal.

The discussions continue even as violence across the country remains pervasive, with the Taliban controlling more territory than at any point since 2001.

On Sunday, Afghan vice-presidential candidate Amrullah Saleh was targeted in an attack in Kabul that left at least 20 people dead. He has long been an adversary of the Taliban.

On Monday, two U.S. soldiers — Spec. Michael Nance, 24, and Pfc. Brandon Kreischer, 20 — were killed in Uruzgan province in what officials have described as an "insider" attack by an Afghan soldier. Fourteen U.S. troops have died this year from injuries sustained in the conflict.

Last year was the deadliest year for civilians during the entirety of the Afghan conflict, with 3,804 civilian deaths and 7,000 wounded, according to the United Nations.

Nearly 2,400 American troops have died in the country since the war began in 2001 and more than 20,000 have been wounded, according to the Pentagon.

—

Constable reported from Kabul. The Washington Post's Sayed Salahuddin in Kabul and Missy Ryan in Washington contributed to this report.