Spanish Filipino territories, together with the Spanish West Indies, were administered through the Viceroyalty of New Spain based in Mexico City. The Captaincy General of the Philippines (; ) was an administrative district of the Spanish Empire. The Captaincy General encompassed the Spanish East Indies which included the modern country of the Philippines and various Pacific Island possessions, such as the Caroline Islands and Guam. It was founded in 1565 with the first permanent Spanish settlements. For centuries all the political and economic aspects of the Captaincy were administered in Mexico by the Viceroyalty of New Spain, while the administrative issues had
East Indies East Indies comprise a wide variety of cultural diversity, and the inhabitants do not consider themselves as belonging to a single ethnic group. Buddhism, Islam, Christianity and Hinduism are the most popular religions throughout the region, while Sikhism, Jainism, Chinese folk religion and various other traditional beliefs and practices are also prominent in some areas. The major languages in this area draw from a wide variety of language families, and should not be confused with the term Indic, which refers only to a group of Indo-Iranian languages from South Asia. The extensive East Indies are subdivided into two sections (from