שניתנו בו לוחות אחרונות – שבי"ז בתמוז ירד משה מן ההר תחלה ושיבר את הלוחות ובי"ח טחן את העגל ודן את הפושעים ועלה למרום נשתהה שם שמונים יום ארבעים יום עמד בתפלה דכתיב (דברים ט׳:ט׳) ואתנפל לפני ה' ארבעים יום וארבעים לילה וארבעים יום עמד כבראשונה חשוב מי"ז בתמוז עד יום הכפורים והוו להו שמונים יום שנים עשרה שנשתיירו מתמוז דהוא חסר ושלשים דאב ותשעה ועשרים דאלול הרי אחד ושבעים ותשעה דתשרי הרי שמונים יום וליל צום השלים כנגד לילו של י"ז תמוז דלא הוה בחושבניה דהא נפק ליה כבר בשעה שעלה השתא הוי להו פ' שלמין לילה ויום ובוקר יום כפור ירד שהוא עשרה בתשרי ואותו היום נקבע ליום כפור להודיע שמחל וניחם על הרעה אשר דבר לעשות לעמו ועל כן נקבע צום כפור בעשרה בתשרי כך שמעתי: That the last tablets were given on it- On the 17th of Tammuz Moshe descended from the mountain for the first time and broke the tablets. Then, on the 18th, he grounded up the Golden Calf, judged the sinners, and ascended back to the heavens. He stayed there for 80 days: 40 days he stood in prayer as it says: "and I prayed before Hashem 40 days and 40 nights" (Deuteronomy 9:9), and he stood another 40 days like the first time. A calculation from the 17th of Tammuz until Yom Kippur comes out to 80 days: 12 days left from Tammuz (as it's a short month), 30 days in Av, 29 days in Elul equals 71 days. Add 9 days of Tishrei which equals 80 days. Add on the night of Yom Kipper and remove the night of the 17th of Tammuz that shouldn't be calculated as we already calculate it as the time he went up. Now, the explanation is 80 full days and nights and morning of Yom Kippur which is the 10th of Tishrei he went down and established that day as Yom Kippur to inform then that [Hashem] had forgiven and had mercy on the bad thing that he said he would do to his nation; therefore Yom Kippur was established on the 10th of Tishrei. This is what I heard.