 The Dutch assaulted the walled complex in June 1826, which was Diponegoro's first major defeat in the war.Following the Java War, the town's decline accelerated and today it is in ruins.The remains are now located in the Bantul Regency, Special Region of Yogyakarta, Indonesia, close to the banks of the Opak River, and south of Kota Gede.