Hindu influences reached the archipelago as early as the first century CE. The Sundanese Kingdom of Salakanagara in western Java around 130 was the first historically recorded Indianised kingdom in the archipelago. Buddhism arrived around the 6th century, and its history in Indonesia is closely related to that of Hinduism, as some empires based on Buddhism had their roots around the same period. The archipelago has witnessed the rise and fall of powerful and influential Hindu and Buddhist empires such as Majapahit, Sailendra, Srivijaya, and Mataram. Though no longer a majority, Hinduism and Buddhism remain to have a substantial influence on Indonesian culture.