Now when Daniel knew that the document was signed, he went into his house (now in his roof chamber his windows were open toward Jerusalem); he continued to get down on his knees three times a day, praying and giving thanks before his God, as he had been doing previously. [Ps 5:7] Then, by agreement, these men came [together] and found Daniel praying and making requests before his God. Then they approached and spoke before the king regarding his injunction, “Have you not signed an injunction that anyone who petitions (prays to) any god or man except you, O king, within the designated thirty days, is to be thrown into the den of lions?” The king answered, “The statement is true, in accordance with the law of the Medes and Persians, which may not be altered or revoked.” Then they answered and said before the king, “Daniel, who is one of the exiles from Judah, does not pay any attention to you, O king, or to the injunction which you have signed, but keeps praying [to his God] three times a day.”
Then, as soon as the king heard these words, he was deeply distressed [over what he had done] and set his mind on rescuing Daniel; and he struggled until the sun went down [trying to work out a way] to save him. Then, by agreement, these same men came to the king and said, “Know, O king, that it is a law of the Medes and Persians that no injunction or statute which the king establishes may be altered or revoked.”
Then the king gave a command, and Daniel was brought and thrown into the den of lions. The king said to Daniel, “May your God, whom you constantly serve, rescue you Himself!” [Ps 34:7, 19; 37:39, 40; 50:15] A stone was brought and laid over the mouth of the den; and the king sealed it with his own signet ring and with the signet rings of his nobles, so that nothing would be changed concerning Daniel. Then the king returned to his palace and spent the night fasting; and no music or entertainment was brought before him, and he remained unable to sleep.