JAKARTA (Reuters) - Suicide bombers and gunmen attacked the heart of Indonesia’s capital on Thursday and the assault was claimed by Islamic state, the first time the radical group has targeted the world’s most populous Muslim nation.

Just seven people were killed in Jakarta despite multiple blasts and a gunfight, and five of them were the attackers themselves, but the brazenness of the assault suggested a new brand of militancy in a country where low-level strikes on police are common.

It took security forces about three hours to end the attack near a Starbucks cafe and Sarinah, Jakarta’s oldest department store, after a team of militants traded gunfire with police and blew themselves up.

An Indonesian and a Canadian were killed in the attack. Twenty people, including an Algerian, an Austrian, a German and a Dutch national, were wounded.

“A group of soldiers of the caliphate in Indonesia targeted a gathering from the crusader alliance that fights the Islamic State in Jakarta,” the group said in a statement. It added that 15 people were killed.

Jakarta’s police chief told reporters: “ISIS is behind this attack definitely,” using a common acronym for Islamic State, and he identified an Indonesian militant, Bahrun Naim, as the man responsible for plotting it.

Police believe Naim is in the Syrian city of Raqqa.

The drama played out on the streets and on television screens, with at least six explosions and a gunfight in a movie theater. But the low death toll pointed to the involvement of local militants whose weapons were rudimentary, experts said.

In a sign of public unease, a bang caused by a tire bursting triggered a bomb scare that sent police cars rushing back to the scene hours after the attack.

“The president has said the nation and the people should not be scared and should not be defeated by acts of terror,” said palace spokesman Ari Dwipayana.

ARMORED CARS, HELICOPTERS

“The Starbucks cafe windows are blown out. I see three dead people on the road. There has been a lull in the shooting but someone is on the roof of the building and police are aiming their guns at him,” Reuters photographer Darren Whiteside said as the attack unfolded.

Police responded in force within minutes. Black armored cars screeched to a halt in front of the Starbucks cafe and sniper teams were deployed around the neighborhood as helicopters buzzed overhead.

Jakarta police chief Tito Karnavian said one man entered the Starbucks cafe and blew himself up, wounding several inside.

As people poured out of the cafe, two waiting gunmen opened fire on them. At the same time, two militants attacked a police traffic post nearby, using what he described as hand grenade-like bombs.

After the militants had been overcome, a body still lay on the street, a shoe nearby among the debris. The city center’s notoriously jammed roads were largely deserted.

Indonesia has seen attacks by Islamist militants before, but a coordinated assault by a team of suicide bombers and gunmen is unprecedented and had echoes of the sieges seen in Mumbai seven years ago and in Paris last November.

Slideshow ( 13 images )

The last major militant attacks in Jakarta were in July 2009, with bombs at the JW Marriott and Ritz Carlton hotels.

But the country had been on edge for weeks over the threat posed by Islamist militants.

Counter-terrorism police had rounded up about 20 people with suspected links to Islamic State, whose battle lines in Syria and Iraq have included nationals from several Asian countries.

Slideshow ( 13 images )

HISTORY OF ATTACKS

Indonesia has the world’s largest Muslim population, the vast majority of whom practice a moderate form of Islam.

The country saw a spate of militant attacks in the 2000s, the deadliest of which was a nightclub bombing on the holiday island of Bali that killed 202 people, most of them tourists.

Police have been largely successful in destroying domestic militant cells since then, but officials have more recently been worrying about a resurgence inspired by groups such as Islamic State and Indonesians who return after fighting with the group.

Alarm around the world over the danger stemming from Islamic State increased after the Paris attacks and the killing of 14 people in California in December.

On Tuesday, a Syrian suicide bomber killed 10 German tourists in Istanbul. Authorities there suspect the bomber had links to Islamic State.

The United States condemned the attack “in the strongest terms” and said it was committed to its strategic partnership with Indonesia and would stand by it, a U.S. National Security Council spokesman said.

Harits Abu Ulya, a expert on militancy who knows Bahrun Naim, the militant named by Indonesian authorities, said he expected more attacks.

“This is an indication that he has been learning from the Paris attacks and he has studied the strategy,” he said. “I still have doubts about the capability of the local militants to carry out attacks on a bigger scale. But it is a possibility.”