Daniel 1:16-21 NIV
So the guard took away their choice food and the wine they were to drink and gave them vegetables instead.
To these four young men God gave knowledge and understanding of all kinds of literature and learning. And Daniel could understand visions and dreams of all kinds.
At the end of the time set by the king to bring them into his service, the chief official presented them to Nebuchadnezzar. The king talked with them, and he found none equal to Daniel, Hananiah, Mishael and Azariah; so they entered the king’s service. In every matter of wisdom and understanding about which the king questioned them, he found them ten times better than all the magicians and enchanters in his whole kingdom.
And Daniel remained there until the first year of King Cyrus.
NIV: New International Version