JAKARTA, Indonesia: An elite anti-terrorism police squad killed six suspected militants and arrested another during an extended standoff at a house near the Indonesian capital, a police spokesman said Wednesday.

Intelligence gathered from earlier arrests allowed police to storm hide-outs in Ciputat on Jakarta’s outskirts as part of an investigation into an alleged plot to bomb the Myanmar Embassy and a Buddhist temple, said National Police spokesman Brig. Gen. Boy Rafli Amar.

The nine-hour shootout started late Tuesday when most Indonesians were preparing to celebrate New Year’s and ended Wednesday. Amar said those killed had refused to surrender and had fired guns and lobbed homemade bombs at security forces, injuring one police officer in his leg.

He added that the fatal attack was inevitable since calls for the suspects to surrender were met with gunfire and explosions.

Human rights groups have criticized the US-funded squad, known as “Densus 88” in the past, saying it was not trying to take suspects alive, a trend seeming to fuel the very extremism the country is trying to counter. The critics alleged that the suspected militants were victims of extrajudicial killings that drive militancy and reduce public sympathy for police.