Indonesian police fatally shot four suspected militants Wednesday when they attacked a police headquarters in Riau province.
"Four of them got out of the vehicle and tried to fight a group of police with samurai swords", Nandan, who uses only one name, said in a live interview with local television station TV One.
The attacks have put Indonesia on edge as the world's biggest Muslim majority country starts the holy fasting month of Ramadan from Thursday.
Indonesian media said one attacker may have had a bomb strapped to his body but police did not immediately confirm the reports.
"Three officers were injured and one later died in hospital", said local police chief Nandang, who goes by one name.
The attack comes as the Southeast Asian nation has been rocked by a series of deadly attacks on churches and a police station, involving multiple suicide bombings carried out by families, including young children.
The report said that the men had driven their auto into the police yard before getting out to stage the attack.
No group has taken responsibility so far.
Separately, Sunarto said police are still searching for more attackers.
The police earlier disclosed that 8 militants with a white minivan launched the attacks.
State news wires Antara said that two journalists who were at the headquarters were also wounded.
The National Police's elite antiterrorism squad, Detachment 88, has captured several suspected terrorists in East Java, North Sumatra and South Sumatra following the incidents in Surabaya and Sidoarjo.
Wasisto said the driver has been apprehended and was now being detained at Riau Police Precinct.