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
Dutch East Indies privileged upper social class of soldiers, administrators, managers, teachers and pioneers. They lived together with the "natives", but at the top of a rigid social and racial caste system. The Dutch East Indies had two legal classes of citizens; European and indigenous. A third class, Foreign Easterners, was added in 1920. In 1901 the Dutch adopted what they called the Ethical Policy, under which the colonial government had a duty to further the welfare of the Indonesian people in health and education. Other new measures under the policy included irrigation programs, transmigration, communications, flood mitigation, industrialisation, and protection of native