Berean Standard Bible (BSB)
As soon as the king heard this, he was deeply distressed and set his mind on delivering Daniel, and he labored until sundown to rescue him.
World English Bible (WEB)
Then the king, when he heard these words, was very displeased, and set his heart on Daniel to deliver him; and he labored until the going down of the sun to rescue him.
Strong's King James
Then{H116} the king{H4430}, when he heard{H8086}{(H8754)} these words{H4406}, was sore{H7690} displeased{H888}{(H8754)} with himself, and set{H7761}{(H8754)} his heart{H1079} on{H5922} Daniel{H1841} to deliver{H7804}{(H8756)} him: and he laboured{H1934}{(H8754)}{H7712}{(H8723)} till{H5705} the going down{H4606} of the sun{H8122} to deliver{H5338}{(H8682)} him.
The F.O.G *
Then as the king heard this word, great distress was upon him, to set his mind on rescuing Dani'el, and until sunset he was striving for a way of saving him.
The F.O.G Message *
Young's Literal Translation
Then the king, when he hath heard the matter, is greatly displeased at himself, and on Daniel he hath set the heart to deliver him, and till the going up of the sun he was arranging to deliver him.