Mataram Sultanate
He was succeeded by his eldest son as king in 1677, who reigned as Amangkurat II. He founded Sunanate of Kartasura as the successor of Mataram Sultanate.