Total deposits were $4.90 billion at March 31, 2023, which reflects a $213.5 million decrease from total deposits of $5.11 billion at December 31, 2022, and a decrease of $647.3 million from total deposits of $5.54 billion at March 31, 2022. The decrease in deposits at March 31, 2023, compared to December 31, 2022, was primarily due to decreases in non-interest bearing deposits of $101.6 million, savings accounts of $37.0 million and money market accounts of $62.9 million. The decrease in deposits at March 31, 2023, compared to March 31, 2022 was primarily due to decreases in non-interest bearing deposits of $182.5 million, savings accounts of $120.2 million, and money market accounts of $299.3 million. The bulk of the linked quarter decline in deposit balances occurred in January 2023 and is consistent with seasonal historical trends. Deposit trends in February and March were essentially unchanged and net account growth improved significantly in the first quarter relative to trends throughout 2022 following the close of the West Suburban acquisition. Total average deposits decreased $489.9 million, or 8.9%, in the year over year period, driven by declines in our average demand deposits of $90.5 million, and savings, NOW and money markets combined of $338.6 million. In general, the bulk of the decline in deposits year over year can be characterized as rate sensitive account attrition with significant flows and transfers into investing activities following significant expansion in those same accounts in the immediate aftermath of the pandemic.
In addition to deposits, we used other liquidity sources for our funding needs in all periods presented, such as repurchase agreements and other short-term borrowings with the FHLBC. Securities sold under repurchase agreements totaled $27.9 million at March 31, 2023, a $4.3 million, or 13.2%, decrease from $32.2 million at December 31, 2022. Our excess liquidity on hand during much of 2022 allowed us to fund our short-term liquidity needs with cash on hand. During the third quarter of 2022, we began utilizing short-term borrowings from the FHLBC again. The outstanding balance of our short-term FHLBC borrowings was $315.0 million as of March 31, 2023 and $90.0 million as of December 31, 2022; there were no short-term borrowings outstanding as of March 31, 2022.
We are also indebted on $25.8 million, net of deferred issuance costs, of junior subordinated debentures, which are related to the trust preferred securities issued by its statutory trust subsidiary, Old Second Capital Trust II (“Trust II”). The Trust II issuance converted from fixed to floating rate at three month LIBOR plus 150 basis points on June 15, 2017. Upon conversion to a floating rate, we initiated a cash flow hedge which resulted in the total interest rate paid on this debt of 4.39% as of March 31, 2023, as compared to 6.77%, which was the rate paid during the period prior to the June 15, 2017 rate reset.
In the second quarter of 2021, we entered into Subordinated Note Purchase Agreements with certain qualified institutional buyers pursuant to which we issued $60.0 million in aggregate principal amount of our 3.50% Fixed-to-Floating Rate Subordinated Notes due April 15, 2031 (the “Notes”). We sold the Notes to eligible purchasers in a private offering, and the proceeds of this issuance were used for general corporate purposes. The Notes bear interest at a fixed annual rate of 3.50% through April 14, 2026, payable semi-annually in arrears. As of April 15, 2026 forward, the interest rate on the Notes will generally reset quarterly to a rate equal to Three-Month Term SOFR (as defined by the Note) plus 273 basis points, payable quarterly in arrears. The Notes have a stated maturity of April 15, 2031, and are redeemable, in whole are in part, on April 15, 2026, or any interest payment date thereafter, and at any time upon the occurrence of certain events. As of March 31, 2023, we had $59.3 million of subordinated debentures outstanding, net of deferred issuance costs.
In December 2016, we completed a $45.0 million senior note issuance. The notes have a ten-year term, and include interest payable semiannually at 5.75% for five years. Beginning December 31, 2021, the interest became payable quarterly at three month LIBOR plus 385 basis points. As of March 31, 2023, we had $44.6 million of senior debt outstanding, net of deferred issuance costs. At March 31, 2023, we were in compliance with all of the financial covenants outlined within the senior debt agreement.
On February 24, 2023, we paid off the $9.0 million balance in notes payable and other borrowings, resulting in no balance in this line item as of March 31, 2023, compared to $9.0 million as of December 31, 2022, and $18.0 million as of March 31, 2022. The balance in notes payable was related to a $20.0 million dollar term note originated with a correspondent bank in the first quarter of 2020, to facilitate the redemption of our Old Second Capital Trust I trust preferred securities and related junior subordinated debentures, completed on March 2, 2020.
Capital
As of March 31, 2023, total stockholders’ equity was $496.9 million, which was an increase of $35.7 million from $461.1 million as of December 31, 2022. This increase is primarily attributable to an increase in retained earnings of $21.4 million due to net income of $23.6 million in the first quarter of 2023, partially offset by $2.2 million of dividends paid to our common stockholders. In addition, total stockholders’ equity as of March 31, 2023 increased over December 31, 2022, due to a reduction in unrealized net losses on available-for-sale securities, which increased accumulated other comprehensive income by $14.0 million in the first three months of 2023, due to changes in market interest rates. Total stockholders’ equity as of March 31, 2023 increased $30.6 million compared to March 31, 2022 net income year over year, less the reduction in accumulated other comprehensive income of $41.6 million year over year.