A trap set by jealous rivals, a night in a den of lions, and a king's sleepless vigil — broken into clear steps, from Daniel 6.
Daniel, a Jewish exile serving as one of King Darius's top administrators in Babylon, is so distinguished that the king plans to set him over the whole kingdom. Jealous, the other officials search for grounds to accuse him but find him faultless — so they target his religious practice instead, persuading Darius to sign an irrevocable decree that for thirty days, anyone who prays to any god or man except the king will be thrown into a den of lions.
Knowing the decree has been signed, Daniel goes home and prays exactly as he always has — kneeling at his open window toward Jerusalem three times a day, giving thanks to God. He makes no attempt to hide it or change his routine.
The officials catch Daniel praying and report him. Though Darius is greatly displeased with himself and works until sundown trying to find a way to save Daniel, the law of the Medes and Persians cannot be altered once signed. “Then the king commanded, and they brought Daniel, and cast him into the den of lions.” A stone is laid over the den's mouth and sealed with the king's own signet, so that nothing about Daniel's fate can be changed.
Darius returns to his palace but cannot rest — he passes the night fasting, refuses entertainment, and “his sleep went from him.” At the first light of morning he rushes to the den and calls out anxiously, “O Daniel, servant of the living God, is thy God, whom thou servest continually, able to deliver thee from the lions?”
Daniel answers from inside the den: “My God hath sent his angel, and hath shut the lions' mouths, that they have not hurt me: forasmuch as before him innocency was found in me.” Overjoyed, the king has him lifted out, and “no manner of hurt was found upon him, because he believed in his God.” The officials who plotted against Daniel are thrown into the den in his place, and Darius issues a new decree honoring Daniel's God throughout the kingdom.
Persian law was famously irreversible once a king signed it — the same detail plays a key role in the book of Esther, written in a similar setting.
By the time of this story, Daniel had served under the Babylonian and Median/Persian empires for decades, likely making him in his eighties — his faithfulness here caps a lifetime of consistency, not a young man's first test.
Daniel isn't targeted for wrongdoing but for refusing to compromise a habit of private devotion — the officials' scheme only works because they know he won't stop praying, even under threat.