Afghanistan: America's longest war

The war in Afghanistan, code-named Operation Enduring Freedom, lasted for 13 years until being brought to an end in December 2014.