The Java War of 1741 to 1743 was an armed struggle by a joint Chinese and Javanese army against the Dutch East India Company and pro-Dutch Javanese that took place in central and eastern Java. Ending in victory for the Dutch, the war led to the fall of the Sultanate of Mataram and, indirectly, the founding of both the Sunanate of Surakarta and the Sultanate of Yogyakarta.