Sgt. William Olas Bee, a U.S. Marine from the 24th Marine Expeditionary Unit, has a close call after Taliban fighters opened fire near Garmsir in Helmand Province of Afghanistan, May 18, 2008. (Photo by Goran Tomasevic/Reuters)
In this photograph taken on October 4, 2016, an Afghan baker prepares bread at his shop as he waits for customers in Lashkar Gah, the capital city of Helmand province. For years Helmand was the centerpiece of the Western military intervention in Afghanistan only for it to slip deeper into a quagmire of instability, with almost the entire southern province teetering on the verge of collapse. Intensified fighting has killed hundreds and forced thousands to flee to besieged capital Lashkar Gah, sparking a humanitarian crisis as the city – one of the last government- held enclaves – risks falling to the Taliban' s repeated ferocious assaults. (Photo by Wakil Kohsar/AFP Photo)
An Afghan National Army (ANA) soldier assigned to the Mobile Strike Force Kandak fires a RPG-7 rocket-propelled grenade launcher during a live-fire exercise supervised by the Marines with the Mobile Strike Force Advisor Team on Camp Shorabak, Helmand province, Afghanistan, May 20, 2013. The Marines with the Mobile Strike Force Advisor Team instructed and mentored their ANA counterparts on how to properly utilize their weapons systems. (Photo by SSgt Ezekiel R. Kitandwe/RCT 7)
Army paratroopers carry the casket of Private Howard at the Wellington Cathedral on December 21, 2010 in Wellington, New Zealand. Private Howard was serving with the British army when was killed by friendly fire from a US Air Force plane in Helmand Province, Afghanistan earlier this month. Private Howard is the fifth NZ-born soldier to be killed in action in Afghanistan. (Photo by Marty Melville/Getty Images)
Lance Cpl. Blas Trevino of the 1st Battalion, 5th Marines, shouts out as he is rescued on a medevac helicopter from the U.S. Army's Task Force Lift “Dust Off”, Charlie Company 1-214 Aviation Regiment after he got shot in the stomach outside Sangin, in the Helmand Province of southern Afghanistan on June 11, 2011. The Army's 'Dust Off' crew needed two attempts to get him out, as they were fired upon and took five rounds of bullets into the tail of their aircraft. (Photo by Anja Niedringhaus/AP Photo/File)
Pfc. Sebastian Rodriguez, machine gunner, Weapons Platoon, Lima Company, 3rd Battalion, 3rd Marine Regiment, Marine Rotational Force – Darwin, fires an M240 machine gun during a night squad-attack exercise, here, May 22, 2013. (Photo by Sgt. Sarah Fiocco/U.S. Marines)
Throughout the course of the long war in Afghanistan, Coalition troops have relied on thousands of military working dogs to help keep them safe, and make their jobs easier. The dogs are trained to detect explosives, to find illegal drugs, to search for missing comrades, or target enemy combatants. Not only are they active on the front lines, but behind the lines they serve as therapy dogs, service dogs, and loyal companions. They also share the same risks as the ground troops, suffering injuries and sometimes death on the battlefields. Gathered here are images of these dogs and their handlers in Afghanistan and back home, from over the past several years, part of the ongoing series here on Afghanistan.