The United States invaded Afghanistan along with allied forces in 2001 shortly after the 9/11 terror attacks and has been there ever since, before the impending withdrawal this year of the last American troops.
AP photographers have also been there every step of the way, documenting for the outside world the protracted conflict and occupation over the course of two decades, and now the unexpectedly chaotic departure as the Taliban swiftly reassert control over the country.
As is the case with any war, many of the images that emerged were of death and destruction, pain and suffering.
Aboard a helicopter on a medevac mission, two U.S. army soldiers treated a member of the Afghan National Army who was wounded by gunfire during an assault in the Taliban stronghold of Marjah.
And in a village in the southern province of Zabul, a soldier of the 4th Infantry Regiment frisked an Afghan man in his house during a search operation
But other photos portrayed day-to-day human existence, as people tried to go on with their lives even as the gunfire and bomb blasts never ceased.
On a hillside overlooking Kabul, boys chased each other and kicked a soccer ball across a dirt field.
At an open-air market, a livestock merchant displayed a flock of sheep he brought for sale ahead of the major Islamic holiday Eid al-Adha.
And at a store lined with dozens of blue burqas, a woman waited in a changing room to try out one of the head-to-toecovering garments.
There were also signs of attempts to strengthen society and weak governmental institutions.
The hollowed-out shell of the Kabul Theater in the capital became a beacon of hope for more than 400 students, even though it still lacked electricity or running water. Two young girls, who would have been barred from going to school under the previous Taliban rule, sat awaiting class as sunlight streamed through windows without panes.
Villager girls gazed at U.N. workers unloading ballot kits from a helicopter in a remote northeastern area where an airlift was the only way to deliver materials for the country’s first direct presidential vote.
Afghan policemen held out their arms to simulate weapons during a training session with U.S. soldiers outside Kandahar.
And newly trained female officers in crisp, dark uniforms sat at the front of their graduating class in a ceremony at the National Army’s training center in Kabul.
Such attempts to remake Afghanistan are now thrown into doubt with the ascendant Taliban again. The group says it will govern in a more moderate fashion than before, but many people fear a return to the harsh rule of the 1990s when women were largely confined to their homes, TV and music were banned and authorities mutilated or publicly executed people suspected of crimes.
Journalists who covered the last 20 years in the country, both Afghans and foreigners, did so at considerable personal risk.
In the AP family, photographer Emilio Morenatti lost his left leg to a roadside bomb in 2009, and five years later, photographer Anja Niedringhaus was shot dead by a policeman in an attack that also seriously wounded correspondent Kathy Gannon.
(File Photo/AP/Julie Jacobson)
Sarab village resident Raihan comforts her 1-year-old son July 13, 2009, after having an early morning opium smoke with family members in the Badakhshan province of Afghanistan. Raihan was addicted to opium while pregnant with her son making him an addict at birth. “When he was born, he would cry day and night. But when she blows smoke in his face, he sleeps,” said her father Islam Beg.
(File Photo/AP/Saurabh Das)
A woman poll worker waits for voters to arrive Sept. 18, 2005, at a polling station in Kandahar, Afghanistan.
(File Photo/AP/Anja Niedringhaus)
An Afghan soldier (left) and a police officer peek through a window April 1, 2014, as they queue with others to get their registration card on the last day of voter registration for presidential elections outside a school in Kabul, Afghanistan.
(File Photo/AP/Gemunu Amarasinghe)
Newly trained female officers from the Afghan National Army sit Sept. 23, 2010, as a new batch of officers attend their graduation ceremony at National Army’s training center in Kabul.
(File Photo/AP/Altaf Qadri)
An Afghan barber works on a customer Sept. 29, 2009, in his shop as a portrait of Afghanistan national hero Ahmad Shah Massoud adorns its door in Kabul.
(File Photo/AP/Rafiq Maqbool)
A U.S. soldier of B company, 4th Infantry Regiment frisks an afghan man in his house April 2, 2007, during a search operation in Sinan village in Zabul province, southeastern Afghanistan.
(File Photo/AP/Emilio Morenatti)
Local girls look at U.N. workers unloading ballot kits from a U.N. helicopter Oct. 4, 2004, in Ghumaipayan Mahnow village, some 256 miles northeast of Kabul.
(File Photo/AP/Tomas Munita)
Basera (right), 13, and Saira, 10, wait for their class to begin April 20, 2005, at Loy Ghar school, in the bombed-out carcass of the Kabul Theater in Afghanistan’s capital.
(File Photo/AP/Dusan Vranic)
Afghan farmers harvest wheat June 24, 2010, outside Kabul.
(File Photo/AP/Rodrigo Abd)
Afghan police officers simulate weapons orientation Oct. 26, 2010, during a training session with U.S. soldiers from 2nd PLT Diablos 552nd Military Police Company on the outskirts of Kandahar City, Afghanistan.
(File Photo/AP/Anja Niedringhaus)
An Afghan woman waits in a changing room to try out a new burqa on April 11, 2013, in a shop in the old city of Kabul, Afghanistan.
(File Photo/AP/Rahmat Gul)
Afghan militiamen join Afghan defense and security forces June 23 during a gathering in Kabul.
(AP/Gemunu Amarasinghe)
An Afghan police officer carries an injured unidentified German national Oct. 28, 2009, as smoke bellows from the site of an attack in Kabul, Afghanistan. Gunmen attacked a guest house used by U.N. staff in the Afghan capital of Kabul.
(File Photo/AP/David Guttenfelder)
Afghan anti-al-Qaida fighters rest Dec. 19, 2001, at a former al-Qaida base in the White Mountains near Tora Bora behind a string of ammunition found after the retreat of al-Qaida members from the area.
(File Photo/AP/Kevin Frayer)
U.S. Army flight medic SGT Jaime Adame (top) cares for seriously wounded Marine CPL Andrew Smith following an insurgent attack on May 15, 2011, on board a medevac helicopter from the U.S. Army’s Task Force Lift “Dust Off”, Charlie Company 1-214 Aviation Regiment north of Sangin, in the volatile Helmand Province of southern Afghanistan.
(File Photo/AP/Emilio Morenatti)
Afghan National Army recruits listen to the explanations of their instructor July 19, 2009, during a training session at the Kabul Military Training Center in Afghanistan.