Gen Fazeluddin Ayar, the police chief in Badakhshan province, said that the 27 officers were hiding in a cave during the Taliban attack yesterday in Yamgan district. The Taliban took the officers hostage and police have launched an effort to try and find them, Ayar said.
The Taliban claimed responsibility for the attack in a message to journalists. The militants routinely execute security forces they capture.
Reinforcements were sent to the site, but the police were forced to pull back from the area and were fighting the Taliban forces from surrounding mountains as army helicopters flew overhead, Ayar said. Five insurgents also were killed, and three policemen were wounded, he added.
The Taliban said its fighters had raised the movement's white flag above the district headquarters.
Badakhshan province, nestled in the Hindu Kush and Pamir mountain ranges and bordering China, is one of the most remote in the country. The area has seen few attacks from insurgents following the 2001 US-led invasion of Afghanistan. A recent landslide in the province killed hundreds in a rural village.