Question: When did the afghanistan war start and end?

Disambiguated questions and answers:
context: The War in Afghanistan (also called the US War in Afghanistan, Afghanistan War, or Fourth Anglo-Afghan War), code named Operation Enduring Freedom (2001–14) and Operation Freedom's Sentinel (2015–present), following the United States invasion of Afghanistan of 7 October 2001, when the United States of America and its allies successfully drove the Taliban from power in order to deny al-Qaeda a safe base of operations in Afghanistan. Since the initial objectives were completed, a coalition of over 40 countries (including all NATO members) formed a security mission in the country. The war has since mostly involved US and allied Afghan government troops battling Taliban insurgents. The war in Afghanistan is the longest war in US history.
question: When did the afghanistan war first phase start?
short_answers: 7 October 2001
wikipage: War in Afghanistan (2001–present)

context: Following defeat in the initial invasion, the Taliban was reorganized by its leader Mullah Omar, and launched an insurgency against the Afghan government and ISAF in 2003. Though outgunned and outnumbered, insurgents from the Taliban (and its ally Haqqani Network) - and to a lesser extent Hezb-e-Islami Gulbuddin and other groups - waged asymmetric warfare with guerrilla raids and ambushes in the countryside, suicide attacks against urban targets, and turncoat killings against coalition forces. The Taliban exploited weaknesses in the Afghan government to reassert influence across rural areas of southern and eastern Afghanistan. From 2006 the Taliban made significant gains and showed an increased willingness to commit atrocities against civilians – ISAF responded by increasing troops for counter-insurgency operations to "clear and hold" villages. Violence sharply escalated from 2007 to 2009. Troop numbers began to surge in 2009 and continued to increase through 2011 when roughly 140,000 foreign troops operated under ISAF and US command in Afghanistan. Of these 100,000 were from the US On 1 May 2011, United States Navy SEALs killed Osama bin Laden in Abbotabad, Pakistan. NATO leaders in 2012 commended for withdrawing their forces, and later the United States announced that its major combat operations would end in December 2014, leaving a residual force in the country. In October 2014, British forces handed over the last bases in Helmand to the Afghan military, officially ending their combat operations in the war. On 28 December 2014, NATO formally ended ISAF combat operations in Afghanistan and officially transferred full security responsibility to the Afghan government. The NATO-led Operation Resolute Support was formed the same day as a successor to ISAF.
question: When did the afghanistan war first phase  end?
short_answers: 28 December 2014
wikipage: War in Afghanistan (2001–present)

context: No context provided
question: When did the afghanistan war second phase start?
short_answers: 1 January 2015

context: No context provided
question: When did the afghanistan war second phase end?
short_answers: present

Long answers:
knowledge: content: In late 2001, the United States, supported by its close allies, invaded Afghanistan and toppled the Taliban government.
wikipage: United States invasion of Afghanistan

content: The invasion became the first phase of a 20-year long war in the country, and marked the beginning of the U.S. War on Terror.
wikipage: United States invasion of Afghanistan

content: Operation Freedom's Sentinel (OFS) was the official name used by the U.S. government for the mission succeeding Operation Enduring Freedom (OEF) in continuation of the War in Afghanistan as part of the larger Global War on Terrorism. Operation Freedom's Sentinel is part of the NATO-led Resolute Support Mission, which began on January 1, 2015.
wikipage: Operation Freedom's Sentinel
long_answer: The United States invaded Afghanistan in 7 October 2001, marking the beginning of the first phase of the Afghanistan war, in which the United States successfully drove the Taliban from power. The first phase of the war ended on 28 December 2014, when NATO formally ended ISAF combat operations in Afghanistan and officially transferred full security responsibility to the Afghan government. The second phase of the Afghanistan war began on 1 January 2015, the day that the NATO-led Resolute Support Mission began, and continues until present day.