TEHRAN, Dec. 07 (MNA) – Two people were killed and six wounded in the Indonesian city of Bandung on Wednesday when a man blew himself up at a police station.

The attacker entered the Astana Anyar police station with a motorcycle and detonated explosives as police were lining up for a morning assembly, said Bandung city Police Chief Aswin Sipayung.

An officer died, six were wounded and were rushed to a hospital together with a civilian who was also hurt in the attack, said West Java Police spokesperson Ibrahim Tompo.

A video that circulated on social media showed body parts near the damaged lobby of the police station. Television reports showed white smoke billowing from the building and people running in panic following a loud bang, AP reported.

Police were investigating if the attacker, who was not identified, had links to radical groups.

West Java Police Chief Suntana said the man brought two bombs but one apparently failed to explode and was defused.

Suntana, who goes by a single name, said that police found a paper taped to the perpetrator’s motorbike with the words, “Criminal code is the law of infidels, let’s fight the satanic law enforcers.”

Indonesia’s Parliament on Tuesday passed a new criminal code that bans sex outside of marriage and insulting the president and state institutions.

MNA/PR