WASHINGTON -- President Barack Obama says the U.S. role in Afghanistan will shift to a support role later this spring and he will soon get recommendations from his top military advisers on U.S. troop drawdowns.

Obama says in a joint news conference with Afghan President Hamid Karzai that any agreement on troop drawdowns must include an immunity agreement in which US troops are not subjected to Afghan law.

Obama says the path of the U.S. military remains clear and the war is moving toward a "responsible end" in 2014.

The two leaders met at the White House on the future of the U.S. role in Afghanistan and the 66,000 American troops serving there.

The U.S. military mission will shift from combat to support in the spring, a few months ahead of schedule.

Also on HuffPost:

Loading Slideshow...
  • Afghan workers package fruit juice at a food processing factory in Kabul on October 3, 2011. (ADEK BERRY/AFP/Getty Images)

  • An Afghan worker looks at the camera as he packs fruit juice at a food processing factory in Kabul on October 3, 2011. (ADEK BERRY/AFP/Getty Images)

  • Afghan workers package fruit juice at a food processing factory in Kabul on October 3, 2011.(ADEK BERRY/AFP/Getty Images)

  • An Afghan worker packs fruit juice at a food processing factory in Kabul on October 3, 2011. (ADEK BERRY/AFP/Getty Images)

  • An Afghan worker examines fruit juice packs at a food processing factory in Kabul on October 3, 2011.(ADEK BERRY/AFP/Getty Images)

  • An Afghan worker packs fruit juice at a food processing factory in Kabul on October 3, 2011. (ADEK BERRY/AFP/Getty Images)

  • Afghan workers package fruit juice at a food processing factory in Kabul on October 3, 2011. (ADEK BERRY/AFP/Getty Images)

  • Afghan workers push containers through a fruit juice food processing factory in Kabul on October 3, 2011.(ADEK BERRY/AFP/Getty Images)

  • An Afghan man prepares sugar cane juice for a woman in the old city of Kabul on November 22, 2010. (SHAH MARAI/AFP/Getty Images)

  • An Afghan worker sorts pomegranates at the Omaid Bahar Fruit Processing Company, which is the country's first juice factory, in Kabul on December 7, 2009. (SHAH MARAI/AFP/Getty Images)

  • Afghan workers sort pomegranates at the Omaid Bahar Fruit Processing Company, which is the country's first juice factory, in Kabul on December 7, 2009.(SHAH MARAI/AFP/Getty Images)

  • An Afghan worker sorts pomegranates at the Omaid Bahar Fruit Processing Company in Kabul on December 7, 2009. (SHAH MARAI/AFP/Getty Images)