 Prince Azim-ush-Shan became the subahdar of Bengal Subah in 1697.Due to conflict with Diwan Murshid Quli Khan, he transferred the capital from Dhaka to Rajmahal and then to Patna in 1703.Murshid Khan also shifted his office to Mauksusabad (later renamed it to Murshidabad).