The Talmud
מגילה דף י״בMegillah 12a
Amud a of Megillah 12 — the first side of the page
English rendering prepared for The Gematria — not a historical translation.
Megillah 12a · מגילה י״ב א
תניא נמי הכי ועוד שנה אחרת לבבל ועמד דריוש והשלימה
It was taught likewise: and yet another year for Babylon; and Darius arose and completed it.
אמר רבא אף דניאל טעה בהאי חושבנא דכתיב (דניאל ט, ב) בשנת אחת למלכו אני דניאל בינותי בספרים מדקאמר בינותי מכלל דטעה
Rava said: Daniel too erred in this reckoning, as it is written "in the first year of his reign I, Daniel, understood by the books" (Daniel 9:2). From the fact that he said "I understood", it follows that he had erred.
מ"מ קשו קראי אהדדי כתיב (ירמיהו כט, י) מלאות לבבל וכתיב (דניאל ט, ב) לחרבות ירושלם
In any case the verses contradict one another: it is written "accomplished for Babylon" (Jeremiah 29:10), and it is written "for the desolations of Jerusalem" (Daniel 9:2).
אמר רבא לפקידה בעלמא והיינו דכתיב (עזרא א, ב) כה אמר כורש מלך פרס כל ממלכות הארץ נתן לי ה' אלהי השמים והוא פקד עלי לבנות לו בית בירושלם
Rava said: it was for a mere remembering. And this is that which is written "thus says Cyrus king of Persia: all the kingdoms of the earth has the Lord, the God of heaven, given me, and He has charged me to build Him a house at Jerusalem" (Ezra 1:2).
Talmud Bavli, Wikisource edition, via Sefaria — CC BY-SA 4.0. English rendering prepared for The Gematria — not a historical translation.