Police shot dead six suspected members of an Islamic militant group in Indonesia, after a failed drive-by shooting targeting police officers in East Java.
Indonesia has the world's largest Muslim population and has been on high alert over a recent resurgence in radicalism inspired by the extremist group Islamic State.
After a police chase the six abandoned their vehicle in a village in the Tuban area, not far from the industrial city of Surabaya, and attempted to flee into a plantation where they were all killed in a second gun battle with police, East Java Police spokesman Frans Barung Mangera said on Saturday.
Police were monitoring the vehicle prior to the attack, he said, in connection with the Friday arrest of three suspected members of the group, Jemaah Anshorut Daulah (JAD), who were allegedly planning an attack on a police station and had bought M16 machine guns from the southern Philippines.
"We tried to stop that vehicle, but the vehicle did not stop," Mr Mangera said, adding that those in the vehicle "took out weapons and shot at officers".
Indonesia has had some major successes tackling militancy inspired by al-Qaeda's attacks on the United States in 2001. But there has been a resurgence of Islamist activity in recent years, some of it linked to the rise of Islamic State.
The most serious incident last year was in January when four suicide bombers and gunmen attacked a shopping area in central Jakarta.
Jemaah Anshorut Daulah is an umbrella organisation on a US State Department terrorist list that is estimated to have drawn hundreds of Islamic State sympathisers in Indonesia.
Recent attacks by Islamic State sympathisers have mostly been poorly organised, but authorities believe about 400 Indonesians have left to join the militant group in Syria, and some could pose a more deadly threat if they came home.