Bangladesh
In 1704, the capital of Bengal was moved from Dhaka to Murshidabad.  In 1707, Aurangzeb, sometimes called the last great Mughal emperor, died.  After this, governors in Bengal still paid tribute to the Mughal empire, but were mostly left alone.  These governors protected Bengal from Hindu Marathas during the eighteenth century. When the Mughal governor Alivardi Khan died in 1756, he left rule of Bengal to his grandson, who would lose Bengal to the British in 1757.