In 1524/1525, their troops under Sunan Gunung Jati also seized the port of Banten and established the Sultanate of Banten which was affiliating with the Sultanate of Demak.
From 1567 to 1579, under the last king Raja Mulya, alias Prabu Surya Kencana, the Sunda kingdom declined, essentially under the pressure from Sultanate of Banten.
After 1576, the kingdom could not maintain its capital at Pakuan Pajajaran (the present-day Bogor) and gradually the Sultanate of Banten took over the former Sunda kingdom's region.
The Sunda Kingdom subsequently became the ruling power of the region, as recorded on the Kebon Kopi II inscription (AD 932).
An Ulama, Sunan Gunung Jati, settled in Cirebon, with the intention of spreading the word of Islam in the pagan town.
The central areas of Bogor, a city in West Java, has one of the highest population density worldwide, while Bekasi and Depok are respectively the 7th and 10th most populated suburbs in the world (Tangerang in adjacent Banten province is the 9th); in 2014 Bekasi had 2,510,951 and Depok 1,869,681 inhabitants.
The oldest human inhabitant archaeological findings in the region were unearthed in Anyer (the western coast of Java) with evidence of bronze and iron metallurgical culture dating to the first millennium AD.
The Mataram Sultanate from central Java also seized the Priangan region, the southeastern part of the kingdom.
In the sixteenth century, the Dutch and the British trading companies established their trading ships in West Java after the falldown of Sultanate of Banten.
West Java, in the densely populated western third of Java, is home to almost 1 out of every 5 Indonesians.
West Java and Banten provinces, as a part of the Pacific Ring of Fire, have more mountains and volcanoes than any of the other provinces in Indonesia.
Although the treaty with the Portuguese had been established, it could not come to realization.