Afghan security forces have struggled to prevent attacks by the local Islamic State affiliate as well as the more firmly established Taliban since the U.S. and NATO concluded their combat mission at the end of 2014. Both groups regularly carry out attacks, with the Taliban usually targeting the government and security forces and IS targeting the country's Shiite minority.