Police said the detained man was Abdullah Al Galib, a former member of Hizbut Tahrir, and a follower of Ansarullah Bangla Team, two militant Islamist groups in Bangladesh.