Banten Sultanate
At the end of the 16th century, the area was captured by the Banten Sultanate, after the fall of the Sunda Kingdom. The area however became contested in the 1620s between Banten, the Mataram Sultanate in the east and the Batavia-based Dutch East India Company. After a series of military clashes between them, the area was included in a buffer zone territory between Banten and Mataram, although the area is considered "de jure" as a part of Mataram.