 He built Mir Jumla Gate at the northern border to defend the city from the attacks of Magh pirates.Italian traveller Niccolao Manucci came to Dhaka in 1662–63.According to him, Dhaka had a large number of inhabitants compare to the size of the city.