allowance for credit losses is recorded, limited to the amount that the fair value of the security is less than its amortized cost basis
The total debt securities available for sale in loss positions at June 30, 2024, which consisted of U.S. Treasury notes, agency mortgage-backed securities, agency CMOs, privately-issued CMOs, privately-issued ABS, municipal bonds, SBA certificates and other securities represented 87% of total debt securities available for sale at June 30, 2024. All of the municipal securities are issued by municipal governments and are generally secured by first mortgage loans and municipal project revenues.
The Company evaluates the existence of a potential credit loss component related to the decline in fair value of the privately issued CMO and ABS portfolios each quarter using an independent third party analysis. At June 30, 2024, the Company held four privately-issued CMO and ABS securities, acquired in a 2009 bank merger, with an aggregate amortized cost of $337,000 and fair value of $316,000 that have been downgraded to a substandard regulatory classification due to the securities credit quality rating by various rating agencies.
At June 30, 2024, one privately-issued CMO security and one privately-issued ABS were in a loss position, and had depreciated approximately 6.1% from the Company’s carrying value and were collateralized by residential mortgage loans. These securities had a total fair value of $387,000 and a total unrealized loss of $25,000 at June 30, 2024. Based on the independent third party analysis of the expected cash flows, one security had a credit loss totaling $84,000 that was recorded through provision for credit losses on securities during the three-month period ended June 30, 2024. A total of three securities had credit losses totaling $107,000 for the nine-month period ended June 30, 2024. An other-than temporary impairment charge of $28,000 was recognized in the nine months ended June 30, 2023, which was prior to the Company’s adoption of CECL. No other-than temporary impairment was recognized during the three-month period ended June 30, 2023. While the Company does not anticipate additional credit-related impairment losses at June 30, 2024, additional deterioration in market and economic conditions may have an adverse impact on the credit quality of the portfolio, and therefore, require a credit related impairment charge in the future.
The unrealized losses on U.S. Treasury bills and notes, agency mortgage-backed securities, agency CMOs, SBA certificates and municipal bonds relate principally to changes in current interest rates for similar types of securities. In analyzing an issuer’s financial condition, management considers whether the securities are issued by the federal government, its agencies, or other governments, whether downgrades by bond rating agencies have occurred, and the results of reviews of the issuer’s financial condition. Because the Company does not intend to sell the investments and it is not more likely than not the Company will be required to sell the investments before recovery of its amortized cost bases, which may be at maturity, the Company has not recorded an allowance for credit losses at June 30, 2024.
During the three-and nine-month periods ended June 30, 2024, there were no sales of debt securities available for sale. During the three and nine-month periods ended June 30, 2023, the Company recognized $341,000 of gross gains and $881,000 of gross losses on sales of available for sale securities.
At June 30, 2024 and September 30, 2023, available for sale debt securities with a total fair value of $52.7 million and $52.9 million, respectively, were pledged to secure FHLB borrowings. At June 30, 2024, available for sale debt securities with a total fair value of $61.3 million were pledged to secure Federal Reserve Discount Window borrowings. At September 30, 2023, there were no available for sale debt securities pledged to secure Federal Reserve Discount Window borrowings.