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 and tea were also popular in the colonial East Indies. Bread, butter and margarine, sandwiches filled with ham, cheese or fruit jam, poffertjes, pannekoek and Dutch cheeses were commonly consumed by colonial Dutch and Indos during the colonial era. Some of the native upperclass "ningrat" (nobles) and a few educated native were exposed to European cuisine, and it was held with high esteem as the cuisine of upperclass elite of Dutch East Indies society. This led to the adoption and fusion of European cuisine into Indonesian cuisine. Some dishes which were created during the colonial era are Dutch influenced: they