credit facility expenses. Other general and administrative expenses totaled $0.2 million and $0.6 million, respectively, for the three and nine months ended September 30, 2021. Expenses generally consist of management fees, administration fees, performance-based incentive fees, insurance, legal expenses, directors’ expenses, audit and tax expenses and other general and administrative expenses. Interest and other credit facility expenses generally consist of interest, unused fees, agency fees and loan origination fees, if any, among others. The comparative increase in expenses is due to higher interest expense from increased borrowings to support a larger portfolio, along with an increase in LIBOR and SOFR.
Net Investment Income
The Company’s net investment income totaled $5.1 million and $13.5 million, or $0.27 and $0.76 per average unit, respectively, for the three and nine months ended September 30, 2022. The Company’s net investment income totaled $3.0 million and $5.4 million, or $0.25 and $0.51 per average unit, respectively, for the three and nine months ended September 30, 2021.
Net Realized Gain (Loss)
The Company had investment sales and prepayments totaling approximately $4.7 million and $38.5 million, respectively, for the three and nine months ended September 30, 2022. Net realized gain (loss) over the same periods totaled $0 and $0, respectively. The Company had investment sales and prepayments totaling approximately $40.7 million and $63.6 million, respectively, for the three and nine months ended September 30, 2021. Net realized gain over the same periods was immaterial.
Net Change in Unrealized Gain (Loss)
For the three and nine months ended September 30, 2022, net change in unrealized gain on the Company’s assets totaled $0.4 million and $0.9 million, respectively. Net unrealized gain for the three months ended September 30, 2022 was primarily due to appreciation on our investments in World Insurance Associates, LLC and Arcutis Biotherapeutics, Inc., among others, partially offset by depreciation on our investments in Apex Service Partners, LLC and Rubius Therapeutics, Inc., among others. Net unrealized gain for the nine months ended September 30, 2022 was primarily due to appreciation on our investments in ACRES Commercial Mortgage, LLC, Arcutis Biotherapeutics, Inc. and Kid Distro Holdings, LLC, among others, partially offset by depreciation on our investments in Apex Service Partners, LLC, Rubius Therapeutics, Inc. and GSM Acquisition Corp., among others, as well as the reversal of previously recognized appreciation in Community Brands ParentCo, LLC. For the three and nine months ended September 30, 2021, net change in unrealized gain (loss) on the Company’s assets totaled ($0.1) million and $2.0 million, respectively. Net unrealized loss for the three months ended September 30, 2021 was primarily due the reversal of previously recognized unrealized appreciation on our investments in MMIT Holdings, LLC and Galway Partners Holdings, LLC, partially offset by appreciation on our investments in Community Brands ParentCo, LLC, Revlon, Inc. and Align Financial Holdings, LLC, among others. Net unrealized gain for the nine months ended September 30, 2021 was primarily due to appreciation on our investments in Foundation Consumer Brands, LLC, Senseonics Holdings, Inc. and Community Brands ParentCo, LLC, among others, partially offset by the reversal of previously recognized unrealized appreciation in the value of Galway Partners Holdings, LLC and Worldwide Facilities, LLC.
Net Increase in Unitholders’ Capital Resulting From Operations
For the three and nine months ended September 30, 2022, the Company had a net increase in Unitholders’ capital resulting from operations of $5.4 million and $14.4 million, respectively. For the same period, income per average unit were $0.29 and $0.81, respectively. For the three and nine months ended September 30, 2021, the Company had a net increase in Unitholders’ capital resulting from operations of $3.0 million and $7.4 million, respectively. For the same periods, income per average unit was $0.25 and $0.71, respectively.
Financial Condition, Liquidity and Capital Resources
Our primary uses of cash are for (i) investments in portfolio companies and other investments to comply with certain portfolio diversification requirements, (ii) the cost of operations (including paying the Adviser), (iii) debt service of any borrowings, and (iv) cash distributions to our Unitholders.
37