section_path: History/Early history
section_name: Early history
paragraph_text: Early history
  
  Fossilised remains of Homo erectus, popularly known as the " Java Man ", suggest the Indonesian archipelago was inhabited two million to 500,000 years ago. Homo sapiens reached the region around 43,000 BCE. Austronesian peoples, who form the majority of the modern population, migrated to Southeast Asia from what is now Taiwan. They arrived in the archipelago around 2,000 BCE and confined the native Melanesians to the far eastern regions as they spread east.
  
  Ideal agricultural conditions and the mastering of wet-field rice cultivation as early as the eighth century BCE allowed villages, towns, and small kingdoms to flourish by the first century CE. The archipelago's strategic sea-lane position fostered inter-island and international trade, including with Indian kingdoms and Chinese dynasties, from several centuries BCE. Trade has since fundamentally shaped Indonesian history.
  
  From the seventh century CE, the Srivijaya naval kingdom flourished due to trade and the influences of Hinduism and Buddhism. Between the eighth and tenth centuries CE, the agricultural Buddhist Sailendra and Hindu Mataram dynasties thrived and declined in inland Java, leaving grand religious monuments such as Sailendra's Borobudur and Mataram's Prambanan. The Hindu Majapahit kingdom was founded in eastern Java in the late 13th century, and under Gajah Mada, its influence stretched over much of present-day Indonesia. This period is often referred to as the "Golden Age" in Indonesian history.
  
  The earliest evidence of Islamized populations in the archipelago dates to the 13th century in northern Sumatra. Other parts of the archipelago gradually adopted Islam, and it was the dominant religion in Java and Sumatra by the end of the 16th century. For the most part, Islam overlaid and mixed with existing cultural and religious influences, which shaped the predominant form of Islam in Indonesia, particularly in Java.