Darius the Mede set officials over his whole kingdom, and Daniel stood out above them all, so the king planned to set him over the entire realm. His rivals looked for a charge against him but could find no fault, so they decided to look for one concerning the law of his God (Daniel 6:1-5).
They persuaded the king to sign a decree: for thirty days, anyone who prayed to any god or man except the king would be thrown into the den of lions. When Daniel knew it was signed, he went home and, with his windows open toward Jerusalem, knelt three times a day, prayed, and gave thanks before his God, as he had always done (6:7-10).
The king worked until sundown to rescue him, but the law of the Medes and Persians could not be changed. Daniel was thrown into the den, a stone was sealed over its mouth, and the king spent the night fasting, unable to sleep. At dawn he hurried to the den and called out, and Daniel answered: God had sent his angel and shut the lions’ mouths (6:14-23).