WASHINGTON, Oct 10 (Reuters) - President Barack Obama on Wednesday nominated General Joseph Dunford, the No. 2 Marine officer, to lead the war effort in Afghanistan and oversee plans to withdraw most of America's combat forces from the country by the end of 2014.

Dunford, if confirmed by the U.S. Senate, would replace General John Allen, who took over command of the Afghan mission in July 2011 and was nominated by the president on Wednesday to become supreme allied commander in Europe.

Dunford, who served in Iraq, has been assistant commandant of the Marine Corps since October 2010, had been widely expected to take charge of U.S. and NATO troops in Afghanistan as Allen rotated out of the post.

"If confirmed by the Senate, he will lead our forces through key milestones in our effort that will allow us to bring the war to a close responsibly as Afghanistan takes full responsibility for its security," Obama said in a statement.

Also on HuffPost:

Loading Slideshow...
  • Afghan boy walks his dog on a hill above Kabul, Afghanistan, Monday, Oct. 1, 2012. (AP Photo/Ahmad Jamshid)

  • Afghan girls ride donkeys carrying firewood for their home in the Gushta district of Nangarhar province, east of Kabul, Afghanistan, Monday, Oct. 01, 2012. (AP Photo/Rahmat Gul)

  • An Afghan girl carries firewood for her home in Gushta district of Nangarhar province, east of Kabul, Afghanistan, Monday, Oct. 1, 2012. (AP Photo/Rahmat Gul)

  • Afghan Defense Minister Besmillah Khan Mohammadi, right, and Afghan Interior Minister Mujtaba Patang, pray during a gathering in Gushta district of Jalalabad, east of Kabul, Afghanistan, Monday, Oct, 1, 2012. (AP Photo/Rahmat Gul)

  • An Afghan soldier stands guard during a gathering in Gushta district of Jalalabad east of Kabul, Afghanistan, Monday, Oct. 1, 2012. (AP Photo/Rahmat Gul)

  • Afghan Defense Minister Besmillah Khan Mohammadi, center, and Afghan Interior Minister Mujtaba Patang, left, walk in Gushta district of Jalalabad, east of Kabul, Afghanistan, Monday, Oct, 1, 2012. (AP Photo/Rahmat Gul)