One militant has been shot dead on Wednesday after three militants attacked the police headquarters of Riau province, Indonesia, Xinhua news agency reported.
Two officers were wounded in the attack, while another was killed after one of the perpetrators tried to escape and crashed into the officer, he said.
The attack comes after a series of suicide bombings by Islamist militants targeting churches and a police building in Indonesia's second-biggest of city of Surabaya over the past few days.
"The one who escaped has been captured and secured at Pekanbaru police station", Mr Wasisto said.More news: Trump visits first lady at Walter Reed hospital
More news: HP's new Envy PC is the first all-in-one with Alexa built
More news: Vodafone CEO Vittorio Colao steps down, Nick Read is the new CEO
Editor's note: An earlier version of this article stated that at least three men had attacked the Riau Police headquarters.
According to reports from journalists at the scene, who were covering another story right before the attack, a white Toyota Avanza smashed into the outer fence of the police headquarters. Police found the van not far from the location of the attack and searched it for possible explosive materials.
A spokeswoman for Foreign Affairs Minister Julie Bishop said the Department of Foreign Affairs and Trade was monitoring the situation closely. But the Minister urged Australians travelling to Indonesia to check the latest alerts on the Smart Traveller website.
Indonesia - which is set to host the Asian Games in just three months and an IMF-World Bank meeting in Bali in October - has long struggled with extremist militancy, including the 2002 Bali bombings that killed over 200 people - mostly foreign tourists - in the country's worst-ever terror attack.
The coordinated church attack was a sign local extremist groups were becoming more proficient, and stirs concerns about an uptick in extremism as hundreds of Indonesians who flocked to fight alongside Isil in the Middle East return home.