 In 1620, King Aria Suriadiwangsa of Sumedang Larang declared his kingdom as part of Mataram Sultanate.During this era, Dipati Ukur, the local ruler of present-day Bandung revolted against Mataram after the failed Siege of Batavia.The revolt triggered migration of people from Sumedang Larang to move and settle the area around Palabuhanratu and Jampang to protect themselves from the approaching Mataram troops.