Cochin served as the capital of Portuguese India for a period before it was shifted to Goa.