Following Vasco da Gama's arrival in Calicut in 1498, the Portuguese established trade relations. Their first factory was set up in Cochin (Kochi) in 1503 under Afonso de Albuquerque. This factory was soon fortified, making it the first Portuguese fortress in India. Cochin became an important base for the Portuguese before Goa was conquered and made their capital in 1510.