When the king heard this, he was greatly distressed; he was determined to rescue Daniel and made every effort until sundown to save him.