WASHINGTON (AP) — The U.S. announced an agreement with the Iraqi government Friday to wrap up the military mission in Iraq of an American-led coalition fighting the Islamic State group by next year, with U.S. troops departing some bases that they have long occupied during a two-decade-long military presence in the country.

But the Biden administration refused to provide details on how many of the approximately 2,500 U.S. troops still serving in Iraq will remain there or acknowledge it will mark a full withdrawal from the country.

“I think it’s fair to say that, you know, our footprint is going to be changing within the country,” Pentagon deputy press secretary Sabrina Singh told reporters Friday without providing specifics.

The announcement comes at a particularly contentious time for the Middle East, with escalating conflict between Israel and two Iranian-backed militant groups — Hezbollah in Lebanon and Hamas in Gaza — threatening a broader regional war. Bases housing U.S. forces and contractors have been regularly targeted by Iran-backed militias over the last several years, and those attacks intensified late last year and early this spring after the Israel-Hamas war broke out nearly a year ago