Conflict with the Mughals and implications