During his reign, the kingdom adhered to Javanese traditions, although Islam had already been introduced to Java. The Javanese Muslim state of Pajang (and the ancient Hindu-Javanese kingdom of Mataram, still on the same site) got in trouble when Panembahan Senopati schemed to undermine the authority of the King of Pajang. Senopati had conquered the Mataram district himself and circa 1576 he conquered Pajang, imposed the new religion and established his own court.