In Bantam the Dutch had made various treaties with the princes.

On the 17th April 1684 a contract was signed with the sultan of Bantam, by which it was stipulated, among other articles, that the contract of the 10th July 1659 should be renewed and confirmed; that the sultan should give no kind of assistance to the enemies of the Dutch, and undertake nothing hostile against their allies, particularly the Susúnan and the prince of Chéribon; that the Táng'ran river, from its mouth to its origin, and from thence a line drawn from south until it meets the South Sea, should be the boundaries fixed upon between the Dutch jurisdiction and the Bantam country, it being understood that the whole of the Táng'ran or Untong Jáwa river, with its mouths, should be the property of the Dutch, together with six hundred rods of land to the northward from fort Bábakan to the sea, with liberty to erect such pággars, or forts, on the western banks of the river, as should be deemed necessary for purposes of safety; the inhabitants of the Bantam side to be permitted to fish in the river, and to appropriate its waters to the purposes of cultivation, but no vessels to be allowed to enter the river from the sea without Company's passes; that the claims of the Dutch on the government of Bantam should be reduced to twelve thousand rix dollars, or one-eighth of its original amount; that his highness should give up all claims to the principality of Chéribon; that the fourth article of the contract of 1659 should remain in force, and consequently that no ground or factory rent should be paid by the Dutch, but that the sultan should give as much ground gratis, as the purposes of the factory might require; that his highness should conclude no contracts with other powers contrary to the present treaty.

On the same day, however, a bond was executed by the Sultan, in favor of the Dutch, for the payment of the expenses incurred in assisting his highness against the rebel sultan, and his friend the British resident, who it is stated in this document would have received the punishment due to his conduct but for the interference of the Dutch, to whose protection he was indebted for the moderation with which his highness had restricted his punishment to a final removal from Bantam. This obligation states the sultan's debt to be six hundred thousand rix-dollars, which he promises to pay either in specie or pepper, or by remission of duties; and he also grants therein to the Dutch the sole trade in pepper and cloths, in the countries of Bantam, Lampung, and Silebar.

On the 28th April 1684, a deed was executed, by which the sultan of Bantam's debt of six hundred thousand rix-dollars was remitted, on condition that the Company should enjoy the privileges mentioned in the bond of the 17th instant; but whenever the above privileges were violated on the sultan's part, the Dutch held themselves justified in requiring payment of the debt in question.

On the 15th February 1686, an agreement was entered into with the sultan of Bantam, by which, among other stipulations, the Dutch engaged to assist the sultan against his rebellious subjects, with men, ammunition, and vessels, on condition that he would pay the expense; it being stipulated that they should not leave their factory during the night; that they should not be permitted to walk outside the town without the sultan's and the Resident's permission; that they should not enter the houses of the natives, much less stay there during the night; that they should not take away any articles in the bazars without duly paying for the same; that they should not enter any gardens or premises without permission from the proprietors; that they should not enter any temples without previous leave; that they should not detain any females in their houses, nor stop them in the streets; on meeting the sultan in the streets, that they should shew his highness the accustomed honours; that they should not stop whenever the sultan or sultana bathed in the river, but pass without looking at their highnesses; that they should not interfere with the disputes and judicial proceedings of the natives. By the eighteenth article it was mutually agreed, that offenders, of either party, should be punished according to their respective laws, and each by his own nation; and that the whole of the black and white pepper produced at Bantam should be sold to the Dutch at a fixed price.

On the 4th December 1687, on the occasion of the accession to the throne of a new sultan of Bantam, an act of renovation of all former treaties was passed, together with a renewal of the bond for six hundred thousand dollars, and of the deed remitting the same, on condition that the privileges heretofore specified were granted to the Dutch at Bantam.

On the 3d March 1691, on occasion of the elevation to the throne of another sultan, an act of renewal was passed of the contracts concluded at different periods between the Dutch and the sultans of Bantam.

On the 6th January 1681 an agreement was signed with the three chiefs of Chéribon, setting forth the gratitude of those princes for the signal services rendered them by the Dutch, and their determination to follow the Dutch Company's advice under all circumstances, and to assist the Dutch government whenever their aid might be required, on condition that they should, in like manner, be assisted by the Dutch in cases of emergency, each party bearing the expense of all armaments undertaken for his benefit. The three princes promised to live upon good terms with the Susúnan.

In the event of one of the three princes, or other persons, committing any acts prohibited by the present articles, or derogatory to his highness the Susúnan, it was agreed, that such conduct should be punished with the utmost severity.

The other stipulations of importance were, that no fortifications should be erected by the princes without the consent of the Governor-General, who should have leave to build a factory at Chéribon, and to cause all species of merchandize to be imported duty free. That all pepper growing in the kingdom of Chéribon should be disposed of to the Dutch at the bazaar price; that the trade in sugar and rice should be free to all, upon payment of an export duty of two per cent. to the princes; that vessels belonging to powers at war with the Dutch should not be permitted to enter the ports of Chéribon, but be dealt with as enemies.