RezimPada masa rezim Raja [[Amangkurat I]] terjadidijumpai eksekusi banyak bangsawan karena kecurigaan atas pengkhianatan, termasuk seluruh keluarga [[Pangeran Pekik]] (mantan dinasti yang berkuasa dari [[Kadipaten Surabaya|Surabaya]]) pada tahun 1659 dan banyak anggota keluarga kerajaan di keraton selam tahun 1660-an.{{sfn|Pigeaud|1976|p=66}} ThisKebrutalan brutalityini alarmedmenyebabkan Kajoran khawatir, who beganyang tomulai symphatizebersimpati withdengan thepara king'srival rivalsraja.{{sfn|Pigeaud|1976|p=67}} When [[Trunajaya]], a Madurese nobleman who were forced to live at court after his country's annexation, fled the court, Raden Kajoran took him in Kajoran as protégé and let him marry one of his daughters.{{sfn|Pigeaud|1976|p=67}}{{sfn|Ricklefs|1993|p=31}} He also encouraged a friendship between Trunajaya and the Crown Prince of Mataram (Pangeran Adipati Anom, future [[Amangkurat II]]) who also had a grudge against his father the king.{{sfn|Pigeaud|1976|p=67}}