Local government officials said clashes between Afghan soldiers and Taliban militants started on Tuesday night and continued until Wednesday afternoon.
Provincial securty chief, Sakhidad Haidari said clashes took place on Tuesday morning and continued until 1 pm on Wednesday, leaving tow Afghan soldiers and one Taliban militant dead.
Mr. Haidari further added clashes between Afghan soldiers and Taliban militants started after a convoy of the Afghan troops struck with a roadside bomb in Kohistanat district.
He said the Afghan soldiers were on their way back from Kohistanat district where they were providing security for the voter registration teams when the incident took place.
A vehicle of the Afghan national army was also completely damaged following the explosion and clashes, local officials said.
Taliban group claimed responsibility behind the attack and said nearly 20 Afghan police forces were killed and four others were injured.
Taliban group spokesman, Qari Yousuf Ahmadi said two Taliban fighters were also killed during the clashes, however, local security officials deny Taliban group claims.