Excerpts from Books and Wikipedia
"While still a mere youth, Daniel was carried to Babylon, where he lived during the whole period of the Babylonian exile, at times occupying high office in the Babylonian and Persian empires." [Halley's Bible Handbook, p. 395] Babylon fell to Cyrus the Great in 539 BC; his decree in 538 allowed the Jews to return to Palestine;