 He also sought to replace the Acehnese princes with royal officials called "panglima", who had to report annually and were subject to periodic appraisal.An elite palace guard was created, consisting of 3,000 women.He passed legal reforms which created a network of courts using Islamic jurisprudence.