The Indonesian archipelago has been an important trade region since at least the 7th century, when Srivijaya and then later Majapahit traded with China and India. Local rulers gradually absorbed foreign cultural, religious and political models from the early centuries CE, and Hindu and Buddhist kingdoms flourished. Indonesian history has been influenced by foreign powers drawn to its natural resources. Muslim traders brought Islam, and European powers brought Christianity and fought one another to monopolize trade in the Spice Islands of Maluku during the Age of Discovery. Following three and a half centuries of Dutch colonialism, Indonesia secured its independence after World War II. Indonesia's history has since been turbulent, with challenges posed by natural disasters, corruption, separatism, a democratization process, and periods of rapid economic change.
Across its many islands, Indonesia consists of distinct ethnic, linguistic, and religious groups. The Javanese are the largest—and the politically dominant—ethnic group. Indonesia has developed a shared identity defined by a national language, ethnic diversity, religious pluralism within a majority Muslim population, and a history of colonialism including rebellion against it. Indonesia's national motto, "Bhinneka Tunggal Ika" ("Unity in Diversity" literally, "many, yet one"), articulates the diversity that shapes the country. Despite its large population and densely populated regions, Indonesia has vast areas of wilderness that support the world's second highest level of biodiversity. The country is richly endowed with natural resources, yet poverty remains widespread in contemporary Indonesia.