Those roadblocks were removed with the signing of recent deals, which cleared the way for the partnership agreement before a key NATO summit next month. "The document finalized today provides a strong foundation for the security of Afghanistan, the region and the world, and is a document for the development of the region," said Afghan national security adviser Rangin Dadfar Spanta. The document pledges American financial support for Afghanistan through 2024 and refers to the ongoing U.S. role in bolstering Afghan democracy and civil society. In the past, American officials have described the strategic partnership agreement as a key signal to the Afghan government and the insurgency that the United States will not suddenly abandon its fight against the Taliban. "The nature, function and size of the U.S. security commitment still has to be worked out," said a U.S. official who is familiar with the negotiations but is not authorized to discuss details of the pact. Just last week, Karzai publicly asked the United States to include the precise amount of annual financial support it would offer Afghanistan after 2014, suggesting "at least $2 billion a year." U.S. negotiators refused to do so, telling Karzai that the process of congressional appropriation made the request impossible to fulfill. Still, U.S. and Afghan officials said, the document is a testament to the resilience of the relationship, which has been tested not only by the painstaking negotiations, but also by a string of recent events that appeared to threaten the fabric of the partnership. Some of the most significant progress on the agreement occurred not long after U.S. service members burned a pile of Korans on an American base here and in the wake of Army Staff Sgt. Robert Bales being charged with 17 counts of murder over the massacre of Afghan villagers in the southern province of Kandahar last month.