an Entity references as follows:
The Captaincy General of the Philippines (Spanish: Capitanía General de Filipinas Spanish pronunciation: [kapitaˈni.a xeneˈɾal de filiˈpinas]; Tagalog: Kapitaniya Heneral ng Pilipinas) was an administrative district of the Spanish Empire in Southeast Asia governed by a governor-general as a dependency of the Viceroyalty of New Spain based in Mexico City until Mexican independence when it was transferred directly to Madrid.