Militant violence in Indonesia continues.

This time police shot dead four men wielding Samurai swords.

The group began its assault by ramming a car into the police headquarters in the town of Pekanbaru in Riau province, the BBC reported.

Two officers were injured, while another was reportedly killed.

One of the assailants was arrested.

The Islamic State claimed responsibility.

This is just the latest in a spate of violence that has rocked the Muslim-majority nation.

On Sunday in Surabaya, a husband and wife, and their four children blew themselves up at three separate churches, killing at least 18 people and injuring 40.

A day later in the same city, a family riding motorcycles set off explosives in front of the police headquarters injuring 10.

Only an 8-year-old girl from the family of five survived.