Carnival revellers carry burning wooden sticks during the traditional Swiss Chienbaese celebration in Liestal near Basel February 22, 2015. (Photo by Ruben Sprich/Reuters)
A tourist walks inside the Ice Palace glacier hollow at Hintertux glacier, located at around 3250 meters above sea level, in Zillertal, Austria, 02 March, 2016. The hollow's temperature remains constant at 0 degrees Celsius, in summer and winter alike, and is also used by the University of Innsbruck for scientific research projects. (Photo by Lisi Niesner/EPA)
A participant poses with his laptop during the 33rd Chaos Communication Congress on its opening day on December 27, 2016 in Hamburg, Germany. The annual event is bringing together 12,000 computer hackers and activists who will meet over the next four days to share expertise and discuss topics related to the society and the digital world. (Photo by Morris MacMatzen/Getty Images)
Civilians are led by members of pro-Russian self-defence units as they run outside a military base during an assault in the Crimean town of Belbek near Sevastopol March 22, 2014. Russian troops forced their way into a Ukrainian airbase in Crimea with armored vehicles, automatic fire and stun grenades on Saturday, injuring a Ukrainian serviceman and detaining the base's commander for talks. (Photo by Vasily Fedosenko/Reuters)
Firefighters pull a pig as they try to rescue it from a well at a pig farm in Huanghua township of Leqing, Zhejiang province, April 25, 2014. Seven local firefighters successfully rescued a 300 kg (661 lbs) pig which fell down a well on Friday morning, local media reported. (Photo by Reuters/China Daily)
Alex Plunkett, left, and Sean Hart, both of Arlington, Va., join hundreds participating in the annual International Pillow Fight Day on April 5. Massive pillow fights broke out on the Mall in Washington and in cities around the world. (Photo by Marvin Joseph/The Washington Post)
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.