The British presence in India began as a commercial enterprise: the British East India Company, a trading organization, had been active on the subcontinent since the early 1600s and, by the middle of the 1700s. Through the second half of the 19th century, the amount of India's territory under either direct or indirect British control grew as officials signed treaties with local princes. Under the agreements, the land was considered British territory but the princes continued to rule