Indonesia is on high alert after a wave of recent bombings in the country's second-largest city, Surabaya.
One militant has been shot dead on Wednesday after three militants attacked the police headquarters of Riau province, Indonesia, Xinhua news agency reported.
The assailants drove a vehicle into the gate of police headquarters in the city of Pekanbaru on the Sumatra Island to stage the attack, AFP reported.
Police have been frequent targets of mostly low-level attacks by local militants, including a 2017 suicide bombing at a bus station in Jakarta that killed three officers.
Two policemen were injured by the sword attacks and another was killed after being hit by the minivan which was trying to escape from the compound of the headquarters, he added.
Lando Carlrissian Could Be Getting His Own Star Wars Standalone Movie
You have to admit, people are extremely apprehensive that this 'Solo: A Star Wars Story' is going to be good. Be sure to go see " SOLO: A Star Wars Story " when it hits theaters on May 25, 2018.
Following the 2002 Bali bombings, it had been widely praised for its sustained anti-terrorism crackdown. At least 26 people died in a series of terror attacks in Surabaya on Sunday and Monday, including 13 militants and their children.
Police were looking for a sixth man suspected of being involved in the police station attack.
"They had the same teacher and they regularly met for Koran recital every week", said East Java police chief Machfud Arifin.
A television reporter said the incident occurred at around 9 a.m. when police were about to hold a press conference on an earlier drug raid in the city.
The coordinated church attack was a sign local extremist groups are becoming more proficient, and it stirs concerns about an uptick in radicalism as hundreds of Indonesians who flocked to fight alongside IS in the Middle East return home.
"Six men traveled from Sumatra to help the Mako Brimob rioters, but then went back because the situation had been defused", National Police spokesperson Insp.