This is an archived article that was published on sltrib.com in 2015, and information in the article may be outdated. It is provided only for personal research purposes and may not be reprinted.

Washington • President Barack Obama on Tuesday said he would freeze U.S. troop levels in Afghanistan at 9,800 through the end of the year but vowed to end the U.S. war by the end of his presidency.

Obama announced that he would slow the planned withdrawal of U.S. troops immediately after a White House meeting with the new Afghan President Ashraf Ghani. The decision to keep more U.S. forces in Afghanistan this year was driven by the administration's confidence in Ghani, who Obama praised repeatedly. Relations between Ghani's predecessor, Hamid Karzai, and the U.S. government had been steadily deteriorating for years. Obama lauded Ghani for taking on " the mantle of commander in chief in a way that we have not seen in the past from an Afghan president."

But Obama also made it clear that he wouldn't depart from his plan to close the remaining U.S. bases in Afghanistan and consolidate the remaining U.S. forces in Kabul by the end of 2016.

"Afghanistan is still a dangerous place," Obama said. "The way it's going to become less dangerous is by Afghan security forces being capable of keeping law and order and security in the country, and that is not going to happen if foreign forces are continued relied upon."

The White House decision to keep about 5,000 additional troops in Afghanistan came at Ghani's request and also reflected the growing concern of U.S. military commanders. Last year's fighting season was one of the bloodiest for Afghan civilians and security forces since the U.S. invasion in 2001.

Obama insisted that Afghan security forces were capable of defending the country against the Taliban. "They're better equipped than the Taliban," he said. "They are better equipped than the Haqqani network."

Keeping the extra U.S. troops through the end of this year would ensure the Afghan forces continue to make improvements to ensure that far-flung units have the food, ammunition and intelligence required to fight on their own, Obama said.

Ghani, who is the most important figure in the administration's plans to hold the country together, said that Afghan troops had made remarkable strides in recent years. But he noted that the U.S. and European troops have better training, superior weapons and the backing of attack planes and helicopters, which can race to their aid.

"The success has to be judged comparatively," he said in an interview. "Not a single province has fallen; not a single battalion has deserted; not a single army corps has refused to fight. They secured the election; they have borne the casualties; and they've moved from defensive to offensive."

Ghani left open the possibility that he might ask the Obama administration to keep more troops in the country after 2016 but said that his focus for the moment was on preparing Afghan forces for the fighting season, which will begin in a few weeks.

Obama and Ghani stressed that an end to the war could only come through a political deal with the Taliban. In recent years talks between the Taliban and the Afghan government have shown few signs of progress. Since taking over as president, Ghani has sought to smooth relations with Pakistan whose support would be critical to any long-term peace deal.

The extra U.S. forces would allow the Americans to keep troops in regions of Afghanistan that have been most hotly contested by the Taliban and possibly strengthen the Afghan government's position in peace talks. "It lessens the chances that the Taliban can score a major victory this year and thereby could support a negotiating strategy," said Carter Malkasian, a former top political adviser to the U.S. military in Afghanistan and researcher with CNA Corp.

For Ghani the trip to Washington this week was part of a broader campaign to build confidence in his government, which is heavily dependent on billions of dollars in annual U.S. aid for its survival. The Afghan government brings in only about $1 billion annual revenue but spends more than $4 billion on its army and police forces.