The incident took place on Monday morning in Charkh district of Logar province, local government officials said.
Khalil Kamal, district governor for Charkh said at least one policeman was killed and three others were injured after a suicide bomber detonated his explosives before reaching the target.
Mr. Kamal further added that the suicide bomber was looking to enter a mosque but was recognized by Afghan security forces and detonated his explosives.
The attack comes amid ongoing military operations by Afghan security forces in Logar province to ensure stability on election days.
A spokesman for the provincial security commandment, Hazrat Omar Mashriqwal said the operations were launched three days ago to clear the areas from militants’ activities.
Mashriqwal said the operations are still conducted in various regions and at least ten militants were killed during the operations in Batikot district of Logar province.