But, police said Sarwar Jahan's position in the organisation was below the deputies of Tamim Chowdhury.
Tamim Chowdhury was the mastermind of the Holey Artisan cafe attack.
The counter-terrorism unit of Bangladesh police has arrested a spiritual leader and head of an Islamist extremist group for allegedly inspiring and urging his supporters to kill foreign tourists in the country.
Shaikh Mohammad Abul Kashem, who founded an offshoot of the larger Jamaat-ul-Mujahideen Bangladesh (JMB) group, was picked up on Thursday night in the Senpara Parbata area of the capital, Dhaka. Kashem was a teacher at an Islamic school in northern Bangladesh and was acting as chief of a faction of the Jumatul Mujahedeen Bangladesh, or JMB, Islam said. In 2005, the radical group was officially banned and six of its leaders, including Rahman, were arrested. "We have been trying to catch him on the basis of previously arrested militants, but every time he would escape". The Neo-JMB came with a fresh vigour in 2014. He was killed in the encounter at Jamnagar village under Sherpur upazila where police were conducting a raid following a tip-off about a JMB meeting in the area.
USA pounds al Qaeda in Yemen with more than 20 strikes
One US official said Thursday's airstrikes had been planned for weeks, and were being discussed before the deadly January raid. And a fourth targeted an Al-Qaeda position east of Shaqra in the southern province of Abyan, a security source said.
Metropolitan Magistrate Satyabrata Sikder passed the order after Zahangir Alam, an inspector of Counter Terrorism and Transnational Crime (CTTC) unit and also the investigation officer of the case, produced him before the court with a 10-day remand prayer.
"His followers preferred to kill foreigners", Monirul said.
Police say Kashem played a key role in a July 2016 attack in which 17 foreigners were killed when five militants stormed a restaurant in Dhaka's diplomatic zone.
A dozen other top and second-tier leaders of the New JMB group are still absconding.