In 1740, there was a rebellion by Chinese people in Batavia, Dutch East Indies (now Jakarta, Indonesia), which spread across Java, precipitated by massacre in Batavia. Initially, Pakubuwono II (Prince Mangkubumi's half-brother) supported the rebellion. However, he changed his mind after seeing the Dutch superiority over Javanese troops.