Biggest changeThe yields include amortization of fees that are considered adjustments to yields. For the year ended December 31, 2022 2021 2020 Average Yield/ Average Yield/ Average Yield/ Balance Interest Cost Balance Interest Cost Balance Interest Cost (Dollars in thousands) Assets Interest-earning assets: Mortgage loans, net (1)(2) $ 5,253,104 $ 228,065 4.34 % $ 5,146,195 $ 217,580 4.23 % $ 4,798,232 $ 202,722 4.22 % Other loans, net (1)(2) 1,488,486 65,222 4.38 1,498,122 56,751 3.79 1,207,715 45,431 3.76 Total loans, net 6,741,590 293,287 4.35 6,644,317 274,331 4.13 6,005,947 248,153 4.13 Taxable securities: Mortgage-backed securities 573,314 9,414 1.64 550,136 8,335 1.52 450,065 8,730 1.94 Other securities 324,112 9,771 3.01 239,208 4,001 1.67 249,533 5,178 2.08 Total taxable securities 897,426 19,185 2.14 789,344 12,336 1.56 699,598 13,908 1.99 Tax-exempt securities: (3) Other securities 64,822 2,197 3.39 50,831 2,142 4.21 56,530 2,419 4.28 Total tax-exempt securities 64,822 2,197 3.39 50,831 2,142 4.21 56,530 2,419 4.28 Interest-earning deposits and federal funds sold 131,816 2,418 1.83 188,462 203 0.11 100,723 355 0.35 Total interest-earning assets 7,835,654 317,087 4.05 7,672,954 289,012 3.77 6,862,798 264,835 3.86 Other assets 471,483 470,418 413,224 Total assets $ 8,307,137 $ 8,143,372 $ 7,276,022 Interest-bearing liabilities: Deposits: Savings accounts $ 153,605 211 0.14 $ 157,640 255 0.16 $ 176,443 495 0.28 NOW accounts 1,976,238 15,353 0.78 2,165,762 5,453 0.25 1,603,402 9,309 0.58 Money market accounts 2,191,768 19,039 0.87 2,059,431 7,271 0.35 1,561,496 14,368 0.92 Certificate of deposit accounts 1,031,024 12,547 1.22 1,033,187 7,340 0.71 1,167,865 18,096 1.55 Total due to depositors 5,352,635 47,150 0.88 5,416,020 20,319 0.38 4,509,206 42,268 0.94 Mortgagors' escrow accounts 80,021 135 0.17 77,552 5 0.01 70,829 44 0.06 Total interest-bearing deposits 5,432,656 47,285 0.87 5,493,572 20,324 0.37 4,580,035 42,312 0.92 Borrowings 1,012,149 25,725 2.54 905,094 20,269 2.24 1,361,559 26,816 1.97 Total interest-bearing liabilities 6,444,805 73,010 1.13 6,398,666 40,593 0.63 5,941,594 69,128 1.16 Non interest-bearing demand deposits 1,019,090 922,741 583,235 Other liabilities 170,500 173,019 171,126 Total liabilities 7,634,395 7,494,426 6,695,955 Equity 672,742 648,946 580,067 Total liabilities and equity $ 8,307,137 $ 8,143,372 $ 7,276,022 Net interest income / net interest rate spread (4) $ 244,077 2.92 % $ 248,419 3.14 % $ 195,707 2.70 % Net interest-earning assets / net interest margin (5) $ 1,390,849 3.11 % $ 1,274,288 3.24 % $ 921,204 2.85 % Ratio of interest-earning assets to interest-bearing liabilities 1.22 X 1.20 X 1.16 X (1) Average balances include non-accrual loans.
Biggest changeThe yields include amortization of fees that are considered adjustments to yields. For the year ended December 31, 2023 2022 2021 Average Yield/ Average Yield/ Average Yield/ Balance Interest Cost Balance Interest Cost Balance Interest Cost (Dollars in thousands) Assets Interest-earning assets: Mortgage loans, net (1)(2) $ 5,328,067 $ 267,178 5.01 % $ 5,253,104 $ 228,065 4.34 % $ 5,146,195 $ 217,580 4.23 % Other loans, net (1)(2) 1,517,282 88,170 5.81 1,488,486 65,222 4.38 1,498,122 56,751 3.79 Total loans, net 6,845,349 355,348 5.19 6,741,590 293,287 4.35 6,644,317 274,331 4.13 Taxable securities: Mortgage-backed securities 442,228 11,505 2.60 573,314 9,414 1.64 550,136 8,335 1.52 Other securities 485,118 24,700 5.09 324,112 9,771 3.01 239,208 4,001 1.67 Total taxable securities 927,346 36,205 3.90 897,426 19,185 2.14 789,344 12,336 1.56 Tax-exempt securities: (3) Other securities 66,533 1,923 2.89 64,822 2,197 3.39 50,831 2,142 4.21 Total tax-exempt securities 66,533 1,923 2.89 64,822 2,197 3.39 50,831 2,142 4.21 Interest-earning deposits and federal funds sold 184,565 8,405 4.55 131,816 2,418 1.83 188,462 203 0.11 Total interest-earning assets 8,023,793 401,881 5.01 7,835,654 317,087 4.05 7,672,954 289,012 3.77 Other assets 477,771 471,483 470,418 Total assets $ 8,501,564 $ 8,307,137 $ 8,143,372 Interest-bearing liabilities: Deposits: Savings accounts $ 121,102 520 0.43 $ 153,605 211 0.14 $ 157,640 255 0.16 NOW accounts 1,937,974 64,191 3.31 1,976,238 15,353 0.78 2,165,762 5,453 0.25 Money market accounts 1,754,059 58,898 3.36 2,191,768 19,039 0.87 2,059,431 7,271 0.35 Certificate of deposit accounts 2,091,677 64,844 3.10 1,031,024 12,547 1.22 1,033,187 7,340 0.71 Total due to depositors 5,904,812 188,453 3.19 5,352,635 47,150 0.88 5,416,020 20,319 0.38 Mortgagors' escrow accounts 81,015 202 0.25 80,021 135 0.17 77,552 5 0.01 Total interest-bearing deposits 5,985,827 188,655 3.15 5,432,656 47,285 0.87 5,493,572 20,324 0.37 Borrowings 776,050 33,670 4.34 1,012,149 25,725 2.54 905,094 20,269 2.24 Total interest-bearing liabilities 6,761,877 222,325 3.29 6,444,805 73,010 1.13 6,398,666 40,593 0.63 Non interest-bearing demand deposits 867,667 1,019,090 922,741 Other liabilities 196,869 170,500 173,019 Total liabilities 7,826,413 7,634,395 7,494,426 Equity 675,151 672,742 648,946 Total liabilities and equity $ 8,501,564 $ 8,307,137 $ 8,143,372 Net interest income (loss) / net interest rate spread (4) $ 179,556 1.72 % $ 244,077 2.92 % $ 248,419 3.14 % Net interest-earning assets / net interest margin (5) $ 1,261,916 2.24 % $ 1,390,849 3.11 % $ 1,274,288 3.24 % Ratio of interest-earning assets to interest-bearing liabilities 1.19 X 1.22 X 1.20 X (1) Average balances include non-accrual loans.
Because of this strategy, we were able to continue to achieve a higher yield on our mortgage portfolio than we would have otherwise experienced . Loan originations and purchases were $1,521.9 million, $1,254.0 million, and $1,004.1 million for the years ended December 31, 2022, 2021, and 2020, respectively.
Because of this strategy, we were able to continue to achieve a higher yield on our mortgage portfolio than we would have otherwise experienced . Loan originations and purchases were $818.1 million, $1,521.9 million, and $1,254.0 million for the years ended December 31, 2023, 2022, and 2021, respectively.
At December 31, 2022 and 2021, total deposits at our Internet Branch were $154.6 million and $188.0 million, respectively. The government banking unit provides banking services to public municipalities, including counties, cities, towns, villages, school districts, libraries, fire districts, and the various courts throughout the New York City metropolitan area.
At December 31, 2023 and 2022, total deposits at our Internet Branch were $183.8 million and $154.6 million, respectively. The government banking unit provides banking services to public municipalities, including counties, cities, towns, villages, school districts, libraries, fire districts, and the various courts throughout the New York City metropolitan area.
Included in net interest income was prepayment penalty and net recovered interest income from loans and securities totaling $6.4 million and $6.7 million for the years ended December 31, 2022 and 2021, respectively, net gains from fair value adjustments on qualifying hedges totaling $0.8 million and $2.1 million for the years ended December 31, 2022 and 2021, respectively, and purchase accounting income adjustments of $2.5 million and $3.0 million for the years ended December 31, 2022 and 2021, respectively.
Included in net interest income was prepayment penalty income and net recoveries/(reversals) loans and securities totaling $2.3 million and $6.4 million for the years ended December 31, 2023 and 2022, respectively, net gains (losses) from fair value adjustments on hedges totaling $0.4 million and $0.8 million for the years ended December 31, 2023 and 2022, respectively, swap termination fees totaling $3.0 million and none for the years ended December 31, 2023 and 2022, respectively, and purchase accounting income of $1.5 million and $2.5 million for the years ended December 31, 2023 and 2022, respectively.
At December 31, 2022, we had deposit obligations of $6,485.3 million of which $5,818.6 million represents our current obligations within one year. At December 31, 2022, the Bank had 25 branches, which were all leased. In addition, we lease our executive offices. We currently outsource our data processing, loan servicing and check processing functions.
At December 31, 2023, we had deposit obligations of $6,815.3 million of which $6,714.6 million represents our current obligations within one year. 66 Table of Contents At December 31, 2023, the Bank had 27 branches, which were all leased. In addition, we lease our executive offices. We currently outsource our data processing, loan servicing and check processing functions.
As of December 31, 2022, we had seven branches which have a particular focus on the Asian community, of which five are in the borough of Queens, one is in the borough of Manhattan and one on Long Island, with deposits and loans totaling $1,072.4 million and $800.6 million, respectively, in these locations. Manage Enterprise-Wide Risk.
As of December 31, 2023, we had nine branches which have a particular focus on the Asian community, of which six are in the borough of Queens, one is in the borough of Manhattan, one is in the borough of Brooklyn and one on Long Island, with deposits and loans totaling $1,286.2 million and $759.1 million, respectively, in these locations.
The changes attributable to the combined impact of volume and rate have been allocated proportionately to the changes due to volume and the changes due to rate. Increase (Decrease) in Net Interest Income for the years ended December 31, 2022 vs. 2021 2021 vs. 2020 Due to Due to Volume Rate Net Volume Rate Net (Dollars in thousands) Interest-Earning Assets: Mortgage loans, net $ 4,656 $ 5,829 $ 10,485 $ 14,388 $ 470 $ 14,858 Other loans, net (365) 8,836 8,471 10,957 363 11,320 Mortgage-backed securities 375 704 1,079 1,715 (2,110) (395) Other securities 1,770 4,000 5,770 (204) (973) (1,177) Tax-Exempt securities 520 (465) 55 (238) (39) (277) Interest-earning deposits and federal funds sold (80) 2,295 2,215 186 (338) (152) Total interest-earning assets 6,876 21,199 28,075 26,804 (2,627) 24,177 Interest-Bearing Liabilities: Deposits: Savings accounts (7) (37) (44) (48) (192) (240) NOW accounts (518) 10,418 9,900 2,565 (6,421) (3,856) Money market accounts 488 11,280 11,768 3,637 (10,734) (7,097) Certificate of deposit accounts (15) 5,222 5,207 (1,888) (8,868) (10,756) Mortgagors' escrow accounts — 130 130 3 (42) (39) Borrowings 2,559 2,897 5,456 (9,866) 3,319 (6,547) Total interest-bearing liabilities 2,507 29,910 32,417 (5,597) (22,938) (28,535) Net change in net interest income $ 4,369 $ (8,711) $ (4,342) $ 32,401 $ 20,311 $ 52,712 Comparison of Operating Results for the Years Ended December 31, 2022 and 2021 General .
The changes attributable to the combined impact of volume and rate have been allocated proportionately to the changes due to volume and the changes due to rate. Increase (Decrease) in Net Interest Income (Loss) for the years ended December 31, 2023 vs. 2022 2022 vs. 2021 Due to Due to Volume Rate Net Volume Rate Net (Dollars in thousands) Interest-Earning Assets: Mortgage loans, net $ 3,309 $ 35,804 $ 39,113 $ 4,656 $ 5,829 $ 10,485 Other loans, net 1,283 21,665 22,948 (365) 8,836 8,471 Mortgage-backed securities (2,505) 4,596 2,091 375 704 1,079 Other securities 6,243 8,686 14,929 1,770 4,000 5,770 Tax-Exempt securities 57 (331) (274) 520 (465) 55 Interest-earning deposits and federal funds sold 1,270 4,717 5,987 (80) 2,295 2,215 Total interest-earning assets 9,657 75,137 84,794 6,876 21,199 28,075 Interest-Bearing Liabilities: Deposits: Savings accounts (54) 363 309 (7) (37) (44) NOW accounts (303) 49,141 48,838 (518) 10,418 9,900 Money market accounts (4,519) 44,378 39,859 488 11,280 11,768 Certificate of deposit accounts 20,936 31,361 52,297 (15) 5,222 5,207 Mortgagors' escrow accounts 2 65 67 — 130 130 Borrowings (7,056) 15,001 7,945 2,559 2,897 5,456 Total interest-bearing liabilities 9,006 140,309 149,315 2,507 29,910 32,417 Net change in net interest income (loss) $ 651 $ (65,172) $ (64,521) $ 4,369 $ (8,711) $ (4,342) Comparison of Operating Results for the Years Ended December 31, 2023 and 2022 General .