The U.S. budget deficit grew to $1.833 trillion for fiscal 2024, the highest outside of the COVID-19 era, as interest on the federal debt exceeded $1 trillion for the first time and spending grew for the Social Security retirement program, health care and the military, the Treasury Department said on Friday.

The deficit for the year ended Sept. 30 was up 8%, or $138 billion, from the $1.695 trillion recorded in fiscal 2023. It was the third-largest federal deficit in U.S. history, after the pandemic relief-driven deficits of $3.132 trillion in fiscal 2020 and $2.772 trillion in fiscal 2021.

The fiscal 2023 deficit had been reduced by the reversal of $330 billion of costs associated with U.S. President Joe Biden's student loan program after it was struck down by the U.S. Supreme Court. It would have topped $2 trillion without this anomaly.