Dutch East India Company
Amangkurat I made a close relation with Dutch East India Company previously fought by his father. In 1646, he allowed Dutch East India Company to open trade posts in Mataram territory, while Mataram was allowed to trade in other Dutch-ruled islands. Both of them also liberated prisoners each other. The treaty was viewed by Amangkurat I as the submission sign of Dutch East India company to Mataram rule. But, he was shocked when Dutch East India Company conquered Sultanate of Palembang in 1659.