forecast of cash flow data for the upcoming 12 months is presented to the Board of Directors on an annual basis. Given recent banking industry events, management is also monitoring the level of uninsured deposits on a daily basis.
Liquidity is primarily needed to meet customer borrowing commitments and deposit withdrawals, either on demand or on contractual maturity, to repay borrowings as they mature, to fund current and planned expenditures and to make new loans and investments as opportunities arise. The Bank’s primary sources of funding for its lending and investment activities include deposits, loan and MBS payments, investment security principal and interest payments and advances from the FHLBNY. The Bank may also sell or securitize selected multifamily residential, mixed-use or one-to-four family residential real estate loans to private sector secondary market purchasers, and has in the past sold such loans to FNMA and FHLMC. The Company may additionally issue debt or equity under appropriate circumstances. Although maturities and scheduled amortization of loans and investments are predictable sources of funds, deposit flows and prepayments on real estate loans and MBS are influenced by interest rates, economic conditions and competition.
The Bank is a member of AFX, through which it may either borrow or lend funds on an overnight or short-term basis with other member institutions. The availability of funds changes daily.
The Bank utilizes repurchase agreements as part of its borrowing policy to add liquidity. Repurchase agreements represent funds received from customers, generally on an overnight basis, which are collateralized by investment securities. As of March 31, 2023 and December 31, 2022, the Bank’s repurchase agreements totaling $2.1 million and $1.4 million, respectively, were included in other short-term borrowings on the consolidated balance sheets.
The Bank gathers deposits in direct competition with commercial banks, savings banks and brokerage firms, many among the largest in the nation. It must additionally compete for deposit monies against the stock and bond markets, especially during periods of strong performance in those arenas. The Bank’s deposit flows are affected primarily by the pricing and marketing of its deposit products compared to its competitors, as well as the market performance of depositor investment alternatives such as the U.S. bond or equity markets. To the extent that the Bank is responsive to general market increases or declines in interest rates, its deposit flows should not be materially impacted. However, favorable performance of the equity or bond markets could adversely impact the Bank’s deposit flows.
Total deposits increased $315.8 million during the three months ended March 31, 2023 compared to a decrease of $28.9 million for the three months ended March 31, 2022. Within deposits, core deposits (i.e., non-CDs) decreased $88.1 million during the three months ended March 31, 2023 and increased $42.6 million during the three months ended March 31, 2022. CDs increased $403.9 million during the three months ended March 31, 2023 compared to a decrease of $71.5 million during the three months ended March 31, 2022. The decrease in core deposits and increase in CDs was due to customer migration to higher-rate CDs as a result of the increasing interest rate environment. In the event that the Bank should require funds beyond its ability or desire to generate them internally, an additional source of funds is available through its borrowing line at the FHLBNY or borrowing capacity through AFX and lines of credit with unaffiliated correspondent banks. At March 31, 2023, the Bank had an additional unused borrowing capacity of $1.53 billion through the FHLBNY, subject to customary minimum FHLBNY common stock ownership requirements (i.e., 4.5% of the Bank’s outstanding FHLBNY borrowings).
The Bank increased its outstanding FHLBNY advances by $367.0 million during the three months ended March 31, 2023, compared to a $25.0 million increase during the three months ended March 31, 2022. See Note 12. “FHLBNY Advances” for further information.
Subordinated debentures totaled $200.3 million at March 31, 2023 and $197.1 million at March 31, 2022. See Note 13. “Subordinated Debentures” to our consolidated financial statements for further information.
During the three months ended March 31, 2023 and 2022, real estate loan originations totaled $346.7 million and $454.3 million, respectively. During the three months ended March 31, 2023 and 2022, C&I loan originations totaled $5.2 million and $26.1 million, respectively.
Sale of securities available-for-sale totaled $79.3 million during the three months ended March 31, 2023. The Bank did not have any sale of securities available-for-sale during the three months ended March 31, 2022. Purchases of available-