Kochi earlier called Cochin, is a major port city on the west coast of India by the Arabian Sea and is part of the district of Ernakulam in the state of Kerala. Kochi is often called by the name Ernakulam, which refers to the mainland part of the city. Heralded as the Queen of the Arabian Sea, Kochi was an important spice trading centre on the Arabian Sea coast from the 14th century. Occupied by the Portuguese Empire 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.