▁pi racy , ▁the ▁Sultan ▁of ▁B anten ▁sent ▁a ▁reg ent ▁of ▁the ▁Indones ian ▁arch ip el ago ▁to ▁er ad icate ▁the ▁pir ates . ▁The ▁reg ent ▁established ▁control ▁and ▁ruled ▁Bang ka ▁until ▁his ▁death , ▁when ▁his ▁authority ▁passed ▁to ▁his ▁only ▁daughter . ▁ ▁Col onial ▁rule ▁ ▁Ar ound ▁ 1 7 0 9 , ▁tin ▁was ▁found ▁on ▁the ▁banks ▁of ▁the ▁O lin ▁River ▁in ▁Tob o ali ▁District . ▁With ▁the ▁discovery ▁of ▁tin , ▁mer ch ants ▁from ▁China ▁and ▁elsewhere ▁f locked ▁to ▁the ▁region ; ▁the ▁Sultan ▁of ▁Pale mb ang ▁sent ▁represent atives ▁to ▁China ▁in ▁search ▁of ▁tin ▁exper ts . ▁In ▁ 1 7 1 7 , ▁the ▁Pale mb ang ▁Sultan ate ▁began ▁developing ▁trade ▁relationships ▁with ▁the ▁Dutch ▁East ▁India ▁Company ▁( V OC ). ▁With ▁the ▁company ' s ▁help , ▁the ▁s ultan ▁attempted ▁to ▁er ad icate ▁pi racy ▁and ▁tin ▁sm ugg ling . ▁ ▁The ▁Netherlands ▁was ▁occupied ▁by ▁France ▁at ▁the ▁height ▁of ▁the ▁Napole onic ▁Wars , ▁and ▁the ▁British ▁seized ▁all ▁areas ▁in ▁N us ant ara ▁under ▁Dutch ▁govern ance . ▁In ▁accord ance ▁with ▁the ▁T unt ang ▁Ag re ement , ▁on ▁ 1 8 ▁September ▁ 1 8 1 1 ▁the ▁Dutch ▁handed ▁over ▁the ▁island ▁of ▁Java , ▁Tim or , ▁Mak ass ar , ▁and ▁Pale mb ang ▁to ▁the ▁British ; ▁P ang kal ▁Pin ang ▁become ▁a ▁British