when did the mughal rule come to an end