WASHINGTON — The U.S. military said Friday it has started taking steps to meet President Donald Trump’s demand for a complete military withdrawal from Syria. The announcement fueled concern about how quickly the U.S. will abandon its Kurdish allies, amid contradictory statements recently by administration officials on an exit timetable.

The withdrawal began with shipments of military equipment, U.S. defense officials said. But in coming weeks, the contingent of about 2,000 troops is expected to depart even as the White House vows to keep pressure on the Islamic State group.

The withdrawal plan, whose details are classified, includes bringing hundreds of additional troops into Syria temporarily to facilitate the pullout. These include troops to provide extra security for those who are preparing to leave. The full withdrawal is expected to take several months.

The USS Kearsarge amphibious assault ship is now in the region and could provide troops and equipment to support the withdrawal.

Once the troops are gone, the U.S. will have ended three years of organizing, arming, advising and providing air cover for Syrian, Kurdish and Arab fighters in an open-ended campaign devised by the Obama administration to deal the IS group a lasting defeat.

Uncertainty over the timing and terms of the Syria pullout have raised questions about the Trump administration’s broader strategy for fighting Islamic extremism, including Trump’s stated intention to reduce U.S. forces in Afghanistan this summer.

U.S. airstrikes against IS in Syria began in September 2014, and ground troops moved in the following year in small numbers.

The U.S. military has a limited network of bases inside Syria. Troops work mostly out of small camps in remote parts of the country's northeast. Also, U.S. troops are among 200 to 300 coalition troops at a garrison in southern Syria known as al-Tanf, where they train and accompany local Syrian opposition forces on patrols to counter the IS group. Al-Tanf is on a vital road linking Iranian-backed forces from Tehran all the way to southern Lebanon — and Israel's doorstep.

Trump’s decision to leave Syria, which he initially said would be rapid but later slowed down, shocked U.S. allies and angered the Kurds in Syria, who are vulnerable to attack by Turkey. It also prompted the resignation of Defense Secretary Jim Mattis and drew criticism in Congress. Sen. Jack Reed, a Rhode Island Democrat, called the decision a “betrayal of our Kurdish partners.”

The U.S. military command in Baghdad, which is managing the counter-IS campaign in Iraq and Syria, said Friday that it "has begun the process of our deliberate withdrawal from Syria," adding that, for security reasons, it would not reveal timetables, locations or troop movements. Other U.S. officials later made clear that the pullout did not yet include troops.

U.S. troops are still working with a partner known as the Syrian Democratic Forces to stamp out the last IS holdouts in the Middle Euphrates River Valley near the Iraqi border. Trump has asserted that the IS group in Syria is defeated, but others have said a continued U.S. military presence is necessary to prevent a resurgence of the group. Two weeks before Trump announced he was ordering a pullout, Gen. Joseph Dunford, chairman of the Joint Chiefs of Staff, said the U.S. still had a long way to go in training local Syrian forces to stabilize areas ridden of the IS group. He said it would take 35,000 to 40,000 local forces in northeastern Syria to maintain security, but only about 20 percent had been trained.

Another complication is the fate of hundreds of foreign IS fighters being held in Syria. The U.S. doesn't want these prisoners to be released once U.S. forces are gone, since they could rejoin the militant cause in Syria or elsewhere.

There has been confusion over plans to implement Trump's pullout order amid threats from Turkey to attack the Kurdish fighters, who are seen by Ankara as terrorists because of their ties to insurgents within Turkey.

On a visit to Turkish troops stationed near the Syrian border Friday, Turkey's defense minister, Hulusi Akar, reiterated that Ankara is "determined" to fight Kurdish militias it considers terrorists and said military preparations were ongoing.

"When the time and place comes, the terrorists here will also be buried in the ditches and trenches they have dug," he said.

Earlier this week, Trump's national security adviser, John Bolton, said American troops will not leave northeastern Syria until the IS group is defeated and American-allied Kurdish fighters are protected, signaling a slowdown in Trump's initial order for a rapid withdrawal.

In Cairo on Thursday, Secretary of State Mike Pompeo said that although Trump has decided to bring troops home, he will keep up the fight against the IS group more broadly.

"Let me be clear: America will not retreat until the terror fight is over," Pompeo said.

The distinctive feature of the U.S. military campaign in Syria is its partnership with the Kurds and Arabs who were willing to act as American proxies by fighting the Islamic State group without U.S. troops having to take the lead combat role. U.S. forces took a similar approach in neighboring Iraq, starting in 2014, but in that case, they had a willing partner in the Iraqi government, whereas in Syria, the U.S. is present without the blessing of President Bashar Assad.

Syria also is complicated by the presence of Russian troops who are, in effect, propping up the Assad government, and by Iranian support for Assad. American and Russian warplanes have shared the skies over Syria, carrying out separate— and in some cases, conflicting — missions against the IS group and other targets.

The U.S. has about 5,200 troops in Iraq to assist its security forces, and Trump has given no indication he intends to withdraw them any time soon. He has, however, asserted that the U.S. must bring an end to the Mideast wars that began after the Sept. 11, 2001, terror attacks. He has questioned the wisdom of continuing the 17-year war in Afghanistan and recently demanded that about half of the 14,000 U.S. troops there be sent home.

Associated Press writer Lolita C. Baldor contributed to this report.