The State of India or Portuguese India was, above all, a group of port cities and fortresses installed on the coast of Africa and Asia, from the Cape of Good Hope in the west, to Moluccas, Macau and Nagasaki, in the east. Individual possessions were conquered or acquired through the establishment of a contract with the respective governor. Its existence dates back to the years 1505 to 1961, suffering geographical variations over its more than four centuries of existence. It was founded in 1505. The first viceroy was D. Francisco de Almeida, who established his government in Cochin. In 1510, the capital of the State of India was transferred to Goa.