Daniel was one of the great prophets of the Old Testament. He lived around the year 550 B.C. When he was a young man, the King of Babylon attacked Jerusalem, overran it, and took many of the people into captivity including Daniel. Because Daniel was handsome and bright, he was one of the young Israelites selected to receive training to prepare for the king's service.
Daniel remained faithful to Jewish law despite many temptations. While the king allowed the selected men to eat a daily portion of food and wine from the king's table, Daniel and his friends refused because the food was considered unclean according to Jewish Law.
God gave Daniel knowledge and proficiency in all literature and science and in particular, he gave Daniel the gift of understanding all visions and dreams.
While Daniel was in the king's service, he interpreted King Nebuchadnezzar's dreams which could not be explained by any of the other court personnel. Many years later, he interpreted the Writing on the Wall to King Belshazzar - who was the son of King Nebuchadnezzar.
Other court personnel became jealous of Daniel's success and tried to find some grounds for accusing Daniel of wrong doing. But, they could find none. So, they tricked the king into signing a decree whereby no one was to address any petition to God or man for thirty days. Failure to comply with the decree was punishable by death by being thrown into the lion's den. Not knowing about the decree, Daniel continued to pray three times a day. The men went to the king to complain that Daniel paid no attention to the king's decree. While the king was saddened, he had to enforce the law. The king reluctantly ordered Daniel to be thrown into the lion's den.
After spending a restless night, the king went to the lion's den and found Daniel to be unharmed. The king was very happy that God had saved Daniel. The king later wrote to all of his people All peace to you, I decree that throughout my royal domain the God of Daniel is to be revered and feared.
Daniel wrote all of his prophecies in a book. He became a great statesman and prophet and lived to see the Jewish people return to their homeland.