Spanish East Indies exception of a short period at the end of the 18th century). In 1821 the New Spanish Viceroyalty collapsed following the Mexican War of Independence, which resulted in the First Mexican Empire. All control of the Spanish East Indies government was then transferred to Madrid, until the United States annexed most Spanish territories in the Asia-Pacific region after the Spanish–American War of 1898. In 1574 the Captaincy General of the Philippines was created as a dependency of the Viceroyalty of New Spain. The Real Audiencia of Manila was created on and established in 1584 as the highest tribunal of the
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