Policemen sneak a look inside the Holey Artisan Bakery and the O'Kitchen Restaurant as others inspect the site after gunmen attacked, in Dhaka, Bangladesh, July 3, 2016. REUTERS/Adnan Abidi/File Photo

News and research before you hear about it on CNBC and others. Claim your 2-week free trial to StreetInsider Premiumhere.

DHAKA (Reuters) - Bangladeshi security forces killed four Islamist militants, including the mastermind of an attack on a cafe in Dhaka last month in which 22 people, mostly foreigners, were killed, the head of police counter-terrorism in the capital said on Saturday.

The militants were killed in a raid on their hideout in Naraynganj, outskirts of Dhaka, Moniru Islam told Reuters. Bangladesh-born Canadian citizen Tamim Ahmed Chowdhury, the alleged mastermind of the attack on the cafe, was among those killed, he said.