The July 1 attack in Dhaka’s diplomatic quarter was claimed by the Islamic State and was the worst militant attack in Bangladesh, which has been hit by a spate of killings of liberals and members of religious minorities in the past year.