 After the death of Panembahan Ratu in 1649, the throne succeeded by his grandson, Prince Karim or Prince Rasmi, since the father of Prince Rasmi, Prince Seda ing Gayam or Panembahan Adiningkusuma died first.Prince Rasmi then assume the name of his deceased father, Panembahan Adiningkusuma, also known as Panembahan Ratu II.Later he often referred with his posthumous name as Panembahan Girilaya.