First view (and traditional one) is that Daniel was written immediately after the Babylonian exile ended and many Jews returned to Jerusalem to rebuild the temple. Daniel's prophetic visions revealed successive empires that would follow, one after the other as well as providing a backdrop of God's eternal, unshakeable kingdom continuing in spite of the earthly upheaval and power struggles. The scholarly view is that the "prophecy" of Daniel was written in the 2nd Century B.C. during the time of the Seleucid dynasty. Note that in Jewish scripture, Daniel is not considered a prophet and is not included among the prophetic books.[2]
prophecy of Malachi during the times of the Persian Empire
(535 BC: First portion of Ezra; 515 BC: Second portion of Ezra and Haggai and Zecharia; Joel possibly some time later; 474 BC: Esther; 450 BC: Remainder of Ezra, Nehemiah, and Malachi.)
During this period Judah became the sovereign nation of Israel: The Maccabean Revolt 167 to 160 BC
References
^Anthony R. Ceresko, "Jonah" in New Jerome Biblical Commentary Ed. Raymond E. Brown, Joseph A. Fitzmyer, and Roland E. Murphy. Prentice Hall: Englewood Cliffs, NJ, 1996. pp. 580-584.
^Louis F. Hartman and Alexander A. Di Lella, "Daniel" in New Jerome Biblical Commentary Ed. Raymond E. Brown, Joseph A. Fitzmyer, and Roland E. Murphy. Prentice Hall: Englewood Cliffs, NJ, 1996. pp. 406-420.