payment of principal and interest on our mortgage-backed securities. As of June 30, 2023 and December 31, 2022, we owned $726.0 million and $738.6 million, respectively, of mortgage-backed securities issued by Freddie Mac, Fannie Mae, and Ginnie Mae.
Critical Accounting Policies
On January 1, 2023, we adopted ASU 2016-13, “Financial Instruments – Credit Losses (Topic 326): Measurement of Credit Losses on Financial Instruments,” which created material changes to our critical accounting policies that existed at December 31, 2022. This standard replaces the “incurred loss” model, which estimates a loss allowance based on current known and inherent losses within a loan portfolio to an “expected loss” model known as CECL, which estimates a loss based on losses expected to be recorded over the life of the loan portfolio.
The estimate of the ACL under CECL is based on relevant information about past events, current conditions, and reasonable and supportable forecasts that affect the collectability of cash flows. Refer to Note 2 Summary of Significant Accounting Policies in the accompanying Notes to the Consolidated Financial Statements in this report for further discussions on the risk factors considered by management in establishing the ACL.
Comparison of Financial Condition at June 30, 2023 and December 31, 2022
Assets. Our total assets increased by $49.6 million, or 2.3%, to $2.2 billion at June 30, 2023. The increase in assets was primarily due to a $47.1 million increase in cash.
Cash and Cash Equivalents. Cash and cash equivalents were $87.7 million at June 30, 2023, an increase of $47.1 million, or 116.2%, since December 31, 2022. The increase in cash and cash equivalents was primarily caused by a $125.0 million increase in borrowings, which was partially offset by a $70.4 million decrease in deposits, each as described below.
Loans. Total loans were $1.3 billion at June 30, 2023, or 58.8% of total assets. During the six months ended June 30, 2023, the loan portfolio increased by $10.4 million, or 0.8%. The increase in the loan portfolio primarily occurred as the origination of new loans exceeded principal repayments and loan sales.
Securities. Total investment securities, including $20.5 million of investment securities available for sale, were $726.0 million at June 30, 2023, or 32.7% of total assets. During the six months ended June 30, 2023, the investment securities portfolio decreased by $12.6 million, or 1.7%. The decrease in the investment securities balance occurred as principal repayments exceeded purchases.
At June 30, 2023, none of the underlying collateral for the securities consisted of subprime or Alt-A (traditionally defined as nonconforming loans having less than full documentation) loans.
Deposits. Deposits were $1.6 billion at June 30, 2023, a decrease of $70.4 million, or 4.1%, since December 31, 2022. The decrease in deposits was primarily due to decreases of $119.5 million in passbook saving accounts and $14.2 million in checking accounts that was partially offset by a $64.1 million increase in certificates of deposit during the six months ended June 30, 2023. The decrease in passbook saving accounts occurred as funds were transferred by customers from savings accounts for higher interest rates paid on our certificates of deposit or to other financial institutions.
Borrowings. Our borrowings consist of advances from the Federal Home Loan Bank (FHLB) and funds borrowed under securities sold under agreements to repurchase. At June 30, 2023 total borrowings were $276.0 million, an increase of $125.0 million, or 82.8%, from $151.0 million at December 31, 2022. The increase in borrowings was used to enhance liquidity and fund the decrease in deposits.
Stockholders’ Equity. Total stockholders’ equity was $250.6 million at June 30, 2023, a decrease of $5.9 million, or 2.3%, from $256.6 million at December 31, 2022. The decrease in stockholders’ equity was primarily due to dividends declared, shares repurchased, and the reduction in retained earnings from the adoption of the CECL accounting standard exceeding net income.