 Kulon Progo is surrounded by the Menoreh Hills.The area of the regency is 586.27 km², and the population was 388,755 at the 2010 Census; the latest estimate (for January 2014) is 404,155.In 1674, Keraton Mataram, Yogyakarta was attacked by Trunojoyo who received assistance from Macassar, resulting in damage to the palace and the king Amangkurat I had to flee and asked the Netherlands for help, till he died in Tegal during flight.