Student loan forgiveness

Hi, my student loans were forgiven in September 2023 based on years in active repayment (20-25 yrs). Does the forgiven amount (approx 50k+) become taxable income or does an exemption apply? Will there be a 1099-C noting the exemption or will the exemption have to be noted in different documentation?