WASHINGTON (AP) — Seeking to turn the page on more than a decade of war, President Barack Obama announced plans Tuesday for greatly reducing U.S. forces in Afghanistan by the end of the year and then ending the U.S. military commitment there by the end of 2016.

‘‘We have now been in Afghanistan longer than many Americans expected,’’ Obama acknowledged during an appearance in the White House Rose Garden. ‘‘Now we’re finishing the job we've started.’’

Even as Obama set a timetable for the drawdown, he said he would keep nearly 10,000 American troops in Afghanistan after the U.S. combat mission formally ends later this year. Those troops would focus on training Afghan security forces and on counterterrorism efforts.

Advertisement

The president said his drawdown plan was contingent on the Afghan government signing a bilateral security agreement with the U.S. Afghan President Hamid Karzai has refused to sign the accord, but the U.S. is optimistic that the two candidates seeking to replace him in the ongoing Afghan elections will finalize the agreement.

Obama’s blueprint calls for cutting the current force of 32,000 to 9,800 by the start of next year. Those troops, dispatched throughout Afghanistan, would not be engaged in combat missions.

Over the course of next year, the number of troops would be cut in half and consolidated in the capital of Kabul and at Bagram Air Field, the main U.S. base in Afghanistan. Those remaining forces would largely be withdrawn by the end of 2016, with fewer than 1,000 remaining behind to staff a security office in Kabul.