King James Version
Then the king, when he heard these words, was sore displeased with himself, and set his heart on Daniel to deliver him: and he laboured till the going down of the sun to deliver him.English Standard Version
Then the king, when he heard these words, was much distressed and set his mind to deliver Daniel. And he labored till the sun went down to rescue him.New International Version
When the king heard this, he was greatly distressed; he was determined to rescue Daniel and made every effort until sundown to save him.