Afghan President Hamid Karzai (R) shakes hands with US President Barack Obama after signing a strategic partnership agreement on May 1, 2012 at the Presidential Palace in Kabul. The agreement provides US military and financial support to Afghanistan for 10 years after the 2014 scheduled troop withdraw. (Photo credit MANDEL NGAN/AFP/GettyImages)
KABUL, Afghanistan -- President Barack Obama and Afghan President Hamid Karzai have signed an agreement aimed at cementing a lasting U.S. commitment to Afghanistan after the long and unpopular war comes to an end.
Obama says the costs of the Afghan war have been great. He says the deal with Afghanistan allows the U.S. to wind down the war, but still stand by Afghanistan and its people.
The president says the deal will also pave the way for "a future of peace."
Karzai says postwar agreement will seal an "equal partnership" between Afghanistan and the United States.
Obama and Karzai signed the agreement at the presidential palace in Kabul shortly after the U.S. president arrived in Afghanistan on Tuesday, slipping into the country under the cover of darkness.