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 theatre of the French Revolutionary Wars number of inconsequential clashes and a partial blockade of the French islands. In 1795 the declaration of war on Britain by the newly formed Batavian Republic led to successful invasions of the Batavian colonies of Dutch Ceylon, the Dutch Cape Colony and operations against the Dutch East Indies. In 1796 British control of the region was challenged by a large and powerful French frigate squadron sent to the Indian Ocean under Contre-amiral Pierre César Charles de Sercey. Sercey's squadron operated against British trade for two years with little success; attempts to raid the China trade and coordinate with a Spanish