The king made a pact with demons in exchange for power and dominion over the lands. The worried sage sent the Ninja to the palace to steal the documents that prove his betrayal of the empire.