An armed man who set off an improvised explosive device (IED) in the courtyard of a government building in the Indonesian city of Bandung was killed in a shootout with police afterwards.

On Monday morning, the explosion occurred in the West Java city. No one was injured or killed in the incident.

According to the police, the man arrived at the government building on a motorbike and put the homemade bomb on a table in a corner of the courtyard.

Following the explosion, the police said, he ran into the government office and the gunfight started. The man was then shot and killed by police.

According to the police, a second attacker was still at large. However, the police did not make it clear how the second suspect was connected to the attack.

“We have secured the firearm, the bomb squad has also secured a backpack. The bomb squad is combing the area to see if there are more homemade bombs,” said Anton Charliyan, the West Java police chief.

“Situation is safe for now, but we must remain on alert and not underestimate things,” he added.

Charliyan told reporters that the motive of the attack was to free suspects that are in Densus (Indonesia’s anti-terrorism unit) custody. “We think the attacker is from an old network, but we are still identifying who he is,” he said.