A suicide bomber blew himself up in the early hours of Tuesday morning local time in Surakarta, Indonesia (also called Solo), according to Indonesian authorities.

The attack, which occurred at a police headquarters, wounded one policeman but there were no fatalities.

The police told the press that the bomber rode in on a motorcycle, and blew himself up when trying to get away from security personnel who had stopped him from entering the premises. Police have identified the suicide bomber as 30-year-old Nur Rohman.

The aftermath of the bombing. Image: shaduxexhaustsystem/instagram

The bombing comes just one day before the Eid al-Fitr holiday Wednesday that marks the end of the Ramadan fasting month for Muslims.

Maj. Gen. Condro Kirono, chief of Central Java Police, said authorities believe the attack was carried out by a militant network that targets police and other security forces.

Aksi teror, di manapun, atas nama apapun, tidak dapat dibenarkan. Masyarakat harap tenang tapi tetap waspada -Jkw — Joko Widodo (@jokowi) July 5, 2016

Jokowi: I have ordered the police chief to chase the terrorist network — Adam Harvey (@adharves) July 5, 2016

PMI Solo @pmi_solo menurunkan 2 ambulan dan 8 personil dalam respon bom di polresta #Surakarta pic.twitter.com/NkI0VyVQ6V — Indonesian Red Cross (@palangmerah) July 5, 2016

Solo is known as a hotbed of Islamic radicalism in Java, one of Indonesia's main islands. The city is home to fundamentalist terror network Jemaah Islamiah (JI), founded by jailed cleric Abu Bakar Bashir. JI organised the deadly 2002 Bali bombings, the largest terror attack ever in Southeast Asia, which killed 202 people and injured another 209.

Bashir formerly pledged allegiance to the Islamic State (ISIS) in 2014, but in January this year withdrew support and warned people to be careful of it.

Bombs in Muslim-majority south Thailand

A car bomb at a military checkpoint blew up on Tuesday afternoon local time in the south Thailand city of Pattani, injuring several police officers.

ไฟไหม้ด่านตรวจเกาะหม้อแกง รอยต่อ อ.เทพาสงขลา กับอ.หนองจิก ปัตตานี ด่านตรวจรถของทหารใหญ่สุดก่อนเข้า3จว.ใต้ #NationTV pic.twitter.com/Zb8GME9uDF — chalieo khongtug (@man_Rw) July 5, 2016

ระเบิดบริเวณด่านเกาะหม้อแกง หนองจิก ปัตตานี ครึ่งชั่วโมงที่ผ่านมา pic.twitter.com/5jx2g604wN — Wana Ursiripant (@wnsiripant) July 5, 2016

The attack follows another bombing on Sunday evening outside Pattani's central mosque that killed a policeman, and wounded two other officers and a civilian.

The policeman was directing traffic when the bomb detonated.



Hundreds of Muslims were in the mosque breaking fast when the blast occurred.

The last 10 days of Ramadan are especially targeted by militant groups.

Col. Pramote Promin, the Internal Security Operations spokesman, was quoted explaining that the last 10 days of Ramadan are especially targeted by militant groups because of a belief that attacks during the holy period would offer more reward in the afterlife.

Muslim-majority Pattani has seen ongoing violence in the past few years. Authorities have blamed it on insurgents that have been clashing with the central government for nearly half a century. Pattani is located near the border with Thailand's Muslim neighbour Malaysia to the south, and was independently ruled by sultans until Thailand conquered it at the turn of the 20th century.

Malaysia suffers first ISIS attack

The attacks on Indonesia and Thailand follow a grenade blast in a Malaysian bar last week that injured eight. Police said on Monday that it was the first successful attack in the country by ISIS.

The blast site at Movida. Image: joshua paul/AP

Police initially labelled the June 28 explosion at the Movida bar in the capital of Kuala Lumpur as a revenge or target killing, but investigations later revealed it was carried out by the militant group.

Fifteen people have been detained in relation to the attack. These include two factory workers who allegedly committed the crime, as well as two low-level policemen.

National police chief Khalid Abu Bakar said one of the policemen had planned to carry out robberies to help fund an Islamic State cell, while the other was protecting a senior militant member from detection.

Police said in addition to targeting popular nightspots, the suspects also had senior government officials including Prime Minister Najib Razak in their crosshairs.

Malaysian forensic personnel inspect the blast site at Movida. Image: joshua paul/AP

Several weeks ago, the Malaysian arm of ISIS, Katibah Nusantara, released videos warning of an attack in the country, as well as others in Indonesia and the Philippines, The Star reported.

The videos show militants burning red Malaysian and green Indonesian passports, indicating their plans to attack.

Muslim-majority Malaysia has detained more than 160 suspected militants over the last two years, including some allegedly planning attacks in the country. Police have raised the security alert level this year. On Jan. 15, police detained a man who was allegedly hours away from carrying out a suicide attack in Kuala Lumpur.

Additional reporting by The Associated Press.

Have something to add to this story? Share it in the comments.