and $2.2 million, respectively, were interest and other credit facility expenses. Administrative services, organization and other general and administrative expenses totaled $0.2 million and $0.3 million, respectively, for the three and six months ended June 30, 2021. Expenses totaled $1.5 million and $3.3 million, respectively, for the three and six months ended June 30, 2020, of which $0.4 million and $1.0 million, respectively, were management fees and administration fees and $0.9 million and $2.0 million, respectively, were interest and other credit facility expenses. Administrative services, organization and other general and administrative expenses totaled $0.2 million and $0.3 million, respectively, for the three and six months ended June 30, 2020. 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 increase in expenses for the year over year comparative periods is due to an increase in fees and interest costs on a larger income-producing portfolio.
Net Investment Income
The Company’s net investment income totaled $0.9 million and $2.3 million, or $0.09 and $0.24 per average unit, respectively, for the three and six months ended June 30, 2021. The Company’s net investment income totaled $1.3 million and $2.5 million, or $0.14 and $0.33 per average unit, respectively, for the three and six months ended June 30, 2020.
Net Realized Gain (Loss)
The Company had investment sales and prepayments totaling approximately $19.2 million and $22.9 million, respectively, for the three and six months ended June 30, 2021. Net realized gain (loss) over the same periods was immaterial. The Company had investment sales and prepayments totaling approximately $1.7 million and $18.9 million, respectively, for the three and six months ended June 30, 2020. Net realized loss over the same periods was immaterial.
Net Change in Unrealized Gain (Loss)
For the three and six months ended June 30, 2021, net change in unrealized gain on the Company’s assets totaled $1.6 million and $2.1 million, respectively. Net unrealized gain for the three months ended June 30, 2021 was primarily due to appreciation on our investments in Foundation Consumer Brands, LLC, World Insurance Associates, LLC, and MMIT Holdings, LLC, among others, partially offset by the reversal of previously recognized unrealized appreciation in the value of Worldwide Facilities, LLC. Net unrealized gain for the six months ended June 30, 2021 was primarily due to appreciation on our investments in World Insurance Associates, LLC, Foundation Consumer Brands, LLC and Senseonics Holdings, Inc., among others, partially offset by the reversal of previously recognized unrealized appreciation in the value of Worldwide Facilities, LLC. For the three and six months ended June 30, 2020, net change in unrealized gain (loss) on the Company’s assets totaled $3.7 million and ($1.2) million, respectively. Net unrealized gain for the three months ended June 30, 2020 was primarily due to appreciation on our investments in Kore Wireless Group, Inc., Drilling Info Holdings, Inc. and RxSense Holdings LLC, among others. Net unrealized loss for the six months ended June 30, 2020 was primarily due to depreciation on our investments in Galway Partners Holdings, LLC, MSHC, Inc. and Kore Wireless Group, Inc., among others.
Net Increase in Unitholders’ Capital Resulting From Operations
For the three and six months ended June 30, 2021, the Company had a net increase in Unitholders’ capital resulting from operations of $2.5 million and $4.4 million, respectively. For the same periods, income per average unit was $0.26 and $0.46, respectively. For the three and six months ended June 30, 2020, the Company had a net increase in unitholders’ capital resulting from operations of $5.0 million and $1.3 million, respectively. For the same periods, net income per average unit was $0.52 and $0.17, 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