DHAKA, Bangladesh (AP) — Bangladeshi forces stormed an upscale Dhaka restaurant to end a hostage-taking by heavily armed militants early Saturday, killing six of the attackers and rescuing 13 captives including foreigners. The military said 20 hostages were killed during the 10-hour standoff, and a survivor's father said the attackers spared people who could recite verses from the Quran.
The attack marks an escalation in militant violence that has hit the traditionally moderate Muslim-majority nation with increasing frequency in recent months. Previous attacks involved machete-wielding men singling out individual activists, foreigners and religious minorities.
About 35 people were taken hostage Friday night when gunmen stormed the popular Holey Artisan Bakery in Dhaka's Gulshan area, a diplomatic zone, during the Ramadan holy month. Two police officers were killed at the start of the attack.
Paramilitary troops who mounted the rescue operations in the morning killed six attackers and recovered explosive devices and sharp weapons from the scene, Brig. Gen. Nayeem Ashfaq Chowdhury said. He did not identify the hostages.
Prime Minister Sheikh Hasina condemned the attack, which was claimed by the Islamic State group, and she said security officials arrested one of the militants.
"Because of the effort of the joint force, the terrorists could not flee," Hasina said in a nationally televised speech, vowing to fight militant attacks in the country and urged people to come forward.
"Anyone who believes in religion cannot do such act," Hasina said. "They do not have any religion, their only religion is terrorism."
Japan's government said a Japanese hostage was rescued with a gunshot wound but seven others are unaccounted for. Deputy Chief Cabinet Secretary Koichi Hagiuda said the eight were together at the restaurant during the attack.
India's External Affairs Mnister Sushma Swaraj confirmed that a young Indian woman was among those killed in the attack.
"Extremely pained to share that the terrorists have killed Tarushi, an Indian girl who was taken hostage in the terror attack in Dhaka," Swaraj tweeted, adding that she had spoken with the girl's father.
Two Sri Lankans also were rescued, said Lt. Col. Tuhin Mohammad Masud, commander of the Rapid Action Battalion that conducted the rescue operations. Others included an Argentine and two Bangladeshis, local media reported.
The Islamic State group claimed responsibility for the attack, according to the SITE Intelligence Group, which monitors jihadist activity online. The Amaq news agency, affiliated with IS, also posted photos purportedly showing hostages' bodies. The authenticity of the images could not be confirmed.
With the sound of gunfire and explosions, local TV stations reported that the rescue operation began at 7:40 a.m. It included army personnel with automatic weapons and at least seven armored vehicles and ambulances. The attackers did not respond to authorities' calls for negotiation, Masud said.
The audacious attack came during Ramadan, when devout Muslims fast during the day and eat after dark.
On Friday evening, many people headed to the popular bakery and restaurant that serves Spanish food and is patronized by residents of Gulshan, an affluent neighborhood where most of the foreign embassies are located. The restaurant overlooks a lake and on pleasant evenings, diners often chose to eat outdoors.
Kitchen staffer Sumon Reza, who escaped, said the attackers chanted "Allahu Akbar" (God is Great) as they assaulted around 9:20 p.m. Friday, initially opening fire with blanks.
Rezaul Karim, the father of a Bangladeshi businessman who was rescued along with his family, said the attackers did not harm any hostage who could recite verses from the Islamic holy book, Quran.
Karim said his son, Hasnat, had gone to the restaurant along with his wife and two children to celebrate the birthday of his elder daughter when the attack happened. "He told me, 'Please save us, please!' And he hung up," he said.
Karim said his son told him that the attackers "did not hit people who could recite verses from the Quran. The others were tortured," he said.
"The gunmen asked everyone inside to recite from the Quran. Those who recited were spared. The gunmen even gave them meals last night," Karim said.
He said detectives were questioning his son and his family as part of the investigation.
Police said the two officers died at a hospital after being wounded in the initial gunfire. Ten of 26 people who were wounded when the militants opened fire are in critical condition, and six were on life support, according to hospital staff. The injuries ranged from broken bones to gunshot wounds. Only one civilian was among the wounded.
The government did not directly comment on the IS claim of responsibility but has denied in the past that the extremist group based in Syria and Iraq has a presence in Bangladesh, instead blaming the recent attacks on its political enemies.
In Washington, a White House official said President Barack Obama was briefed on the attack by his chief counterterrorism adviser Lisa Monaco. The president asked to be kept informed as the situation develops, said the official, who was not authorized to speak publicly about the president's meetings.
State Department spokesman John Kirby says the U.S. is in contact with the Bangladesh government and has offered its assistance to bring those responsible to justice.
The recent attacks in Bangladesh have raised fears that religious extremists are gaining a foothold in the country, despite its traditions of secularism and tolerance.
About two dozen atheist writers, publishers, members of religious minorities, social activists and foreign aid workers have been slain since 2013. On Friday, a Hindu temple worker was hacked to death by at least three assailants in southwest Bangladesh. IS and and al-Qaida affiliates have claimed responsibility for many of the attacks.
Hasina's government has cracked down on domestic radical Islamists by making scores of arrests. It has accused local terrorists and opposition political parties — especially the main opposition Bangladesh Nationalist Party and its Islamist ally Jamaat-e-Islami — of orchestrating the violence in order to destabilize the nation, which both parties deny.
Associated Press writers Katy Daigle in New Delhi, Matthew Pennington in Washington and Ken Moritsugu in Tokyo contributed to this report.
Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.