An explosion in a mosque in central Afghanistan has killed at least two people, officials say.
At least two others are feared wounded in the suspected bomb blast in Ghazni province, south-west of Kabul.
The mosque was being used as a voter registration centre for elections which militants have vowed to disrupt.
The US military said six people had been killed - four Afghans and two United Nations staff. A UN spokesman in Kabul could not confirm UN casualties.
"Preliminary information we have shows that an explosive device went off in a voter registration site located in a mosque in Andar district," said spokesman David Singh in Kabul, quoted by Reuters news agency.
Ghazni Governor Haji Assadullah said two Afghan men had been killed.
He blamed remnants of the ousted Taleban regime who have vowed to disrupt the elections.
Efforts to register voters and prepare for elections have been hampered by suspected Taleban attacks and attempts by local militiamen to influence the outcome of the vote.
The October vote - twice put back because of mounting violence - is being seen as a landmark in efforts to build democracy in Afghanistan after years of war.