The Taliban have so far not commented on the attack
At least 25 Afghan security force personnel were killed in an ambush blamed on the Taliban in the northeast of the country, officials said on Wednesday.
"Fighting is still continuing and the Taliban have also suffered heavy casualties," Jawad Hejri, a spokesman for the governor of Takhar province told AFP.
Takhar provincial health director Abdul Qayoum confirmed the incident but said 34 security personnel had been killed -- including the deputy police chief of the province.
"These security forces were on their way for an operation in the district when they were attacked by the Taliban," said Hejri.
"The Taliban had taken positions in the houses around the area. They ambushed our forces who were there for an operation against the enemy."
The Taliban have so far not commented on the attack.
It comes as spiralling violence across Afghanistan imperils ongoing peace talks between the hardline group and the government in Qatar.