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
Batavia, Dutch East Indies Batavia, Dutch East Indies Batavia was the name of the capital city of the Dutch East Indies that corresponds to the present-day Central Jakarta. Just as modern Jakarta may refer to either the city itself or to the larger area of the city, with its geographic surroundings, which taken together is one of the provinces of Indonesia, Batavia can refer to the city proper as it existed then, with its various increases over time in urbanized acreage, or can refer to the surrounding hinterland. The establishment of Batavia at the site of the razed city of Jayakarta by the Dutch