1599 England, the Dutch East India Company was founded and began by building warehouses in India
During this period, India was not yet a united country. Each small state had their own separate ruler. The East India Company would occasionally ask to trade in the Indian states but other times wouldn't.
Around this time, the French managed their own East India Company. This sparked rivalry between them and the British. By 1700, it changed into a full on war whilst armies were pulled into the conflict.
Eventually, the British made an agreement that they would assist any Indian ruler in trade and would defeat any other ruler who blocked the trade.