Kochi was an important spice trading centre on the west coast of India from the 14th century onward, and maintained a trade network with Arab merchants from the pre-Islamic era. Occupied by the Portuguese in 1503, Kochi was the first of the European colonies in colonial India. It remained the main seat of Portuguese India until 1530, when Goa was chosen instead. The city was later occupied by the Dutch and the British, with the Kingdom of Cochin becoming a princely state. 