after years of changing fight with battles at grobogan, demak and members the dutch under de clerck a crushing defeat at the bogowonto river. hereinafter referred to as governor-general mossel decided to peace negotiations with hamengkubuwana. this eventually led to the conclusion of the 'treaty of giyanti, named after the place east of surakarta where the negotiations took place: the kingdom of mataram was divided between the two warring parties. the old capital kartasura, which as a result of the fratricidal out there had taken place as a doom-laden place was considered, was abandoned.