Daniel 6:14

14 When the king heard this, he was upset and did his best to find some way to rescue Daniel. He kept trying until sunset.

Daniel 6:14 In-Context

12 all of them went together to the king to accuse Daniel. They said, "Your Majesty, you signed an order that for the next thirty days anyone who requested anything from any god or from any human being except you, would be thrown into a pit filled with lions." The king replied, "Yes, that is a strict order, a law of the Medes and Persians, which cannot be changed."
13 Then they said to the king, "Daniel, one of the exiles from Judah, does not respect Your Majesty or obey the order you issued. He prays regularly three times a day."
14 When the king heard this, he was upset and did his best to find some way to rescue Daniel. He kept trying until sunset.
15 Then Daniel's enemies came back to the king and said to him, "Your Majesty knows that according to the laws of the Medes and Persians no order which the king issues can be changed."
16 So the king gave orders for Daniel to be taken and thrown into the pit filled with lions. He said to Daniel, "May your God, whom you serve so loyally, rescue you."
Scripture taken from the Good News Translation - Second Edition, Copyright 1992 by American Bible Society. Used by Permission.