In 1686, the British East India Company declared war on the Mughals. Aurangzeb was on the throne at the time. This war is said to be a big blunder. Because the army of the East India Company, was quite small and weak in comparison to the Mughal army. So it was not surprising that the Mughals defeated the East India Company very easily. The EIC factories in India were seized. Many EIC officials were arrested And the incumbent Governor of the company, had to bow down to Aurangzeb.
Despite this, about 300 years later, East India Company, this foreign company, established control over the entirety of the Indian Subcontinent. Even the biggest company that you can think of now, Apple, Google, Facebook, East India Company was much bigger and more powerful than any of these companies How was this possible?