The British and the French took advantage of the weakening the Mughal Empire.
Explanation: The British and the French had come to India as traders. But when the Mughal Empire started weakening, they gradually took over the entire India to control the market.