European trading posts expanded into territorial control in nearby India and on the islands that are now Indonesia.