 In 1743, in payment for his restoration to power, the King ceded the north coast of Java and Madura to the Dutch East India Company.Later, before his death in 1749, he ceded the remainder of the kingdom.Mataram then became a vassal state of the company.