The trip marked the one-year anniversary of Osama bin Laden's death and served as an opportunity for Obama to meet with U.S. troops and Afghan President Hamid Karzai.
With the bulk of U.S. troops set to withdraw from Afghanistan by 2014, Obama and Karzai signed a strategic partnership agreement today that outlines America's future commitment to the country after a decade of fighting.
Here is a look at the price, in both lives and dollars, that Americans and Afghans have paid over the past 12 years of war.
ABC's Luis Martinez and the Associated Press contributed to this report.
quicklist:1title: 3,860 Daystext: The United States has been at war in Afghanistan for 3,860 days. Troops arrived on Oct. 7, 2001, less than a month after the terrorist attacks of Sept. 11.
quicklist: 2title: 1,834 Americans Killedtext: In the eleven years that American troops have been fighting in Afghanistan 1,834 have been killed. The most deadly year to date was 2010, when 492 Americans died.
During the first four months of 2012, 87 members of the U.S. military have lost their lives in Afghanistan. A total of 367 Americans have died in the war-torn country in the year since Osama bin Laden was killed.
quicklist: 4title: 15,786 Americans Woundedtext: Nearly 16,000 U.S. troops have been wounded in action since the Afghanistan war began in 2001.
From the time Osama bin Laden was killed one year ago through the end of March 2012, 4,341 members of the American military have been wounded.
quicklist: 3title: 88,000 Troopstext: There are currently 88,000 U.S. troops stationed in Afghanistan. That's down from the peak troop level of about 100,000 who were stationed there in March of 2011. Troop strength is expected to shrink to 68,000 by the end of September and by the end of 2014, most U.S. troops are expect to be out of the country.
About 40,000 additional troops from America's allies, such as Britain, are also stationed in Afghanistan.
quicklist: 5title: 11,864 Civilians Killedtext: According to the United Nations, nearly 12,000 Afghan citizens have been killed between 2007 -- when the UN began reporting such statistics -- and 2011.
quicklist: 6title: $443 billiontext: The war in Afghanistan has cost the United States $443 billion from 2001 through 2011, according to the Congressional Research Office.
According to a Pew Trusts report, the wars in Iraq and Afghanistan have contributed more to growth in U.S. debt than any other policy since 2001 except the Bush tax cuts and in the increased interest from legislative changes.