Gunmen seized a bakery in Dhaka overnight, killing 20 hostages and two officers in a standoff that ended Saturday morning, the Bangladeshi military said.

All the hostages killed were foreigners, the military said.

The attackers used guns, explosive devices and “a lot of sharp domestic weapons,” said Brig. Gen. Naeem Ashfaq Chowdhury of the Bangladesh army. The hostages’ bodies were found after the standoff ended more than 10 hours later.

Prime Minister Sheikh Hasina said 13 hostages were rescued