Total liabilities at September 30, 2021 were approximately $154.6 million compared to approximately $145.8 million at December 31, 2020, an increase of approximately $8.8 million, or approximately 6.1%. This increase is principally due to an increase in our line of credit of approximately $2.0 million, advances from borrowers of approximately $8.2 million (of which a majority represented prepaid interest), and deferred revenue of approximately $1.8 million, offset by decrease in dividends payable of approximately $2.7 million, mortgage payable of approximately $768,000, other loans of approximately $258,000, and accounts payable and accrued expenses of approximately $180,000.
Total shareholders’ equity at September 30, 2021 was approximately $158.8 million compared to approximately $80.9 million at December 31, 2020, an increase of approximately $77.8 million. This increase was due primarily to our closing of the Series A Offering on June 29, 2021 and the partial exercise of the overallotment option to purchase an additional 203,000 shares of Series A Preferred Stock with aggregate net proceeds of approximately $45.5 million, net proceeds of approximately $30.9 million from the sale of stock and our net income to common shareholders of approximately $8.1 million.
Net cash provided by operating activities for the nine months ended September 30, 2021 was approximately $17.3 million compared to approximately $7.4 million for same 2020 period. For the 2021 period net cash provided by operating activities consisted primarily of net income of approximately $9.0 million, amortization of deferred financing costs and bond discount of approximately $839,400, an impairment loss of approximately $469,000, increase in deferred revenue of approximately $1.8 million, and an increase in advances from borrowers of approximately $8.2 million, offset by a gain on sale of marketable securities of approximately $212,400 and a gain on forgiveness of debt of approximately $257,800, and an increase in interest and fees receivable of approximately $885,400, other receivables of approximately $361,000 and due from borrowers of approximately $1.4 million. For the 2020 period net cash from operations consisted primarily of net income of approximately $6.6 million, an impairment loss of $495,000, depreciation and amortization of deferred financing cost of approximately $357,500, an increase in advances from borrowers of approximately $565,700, and accounts payable and accrued expenses of approximately $272,600, offset by a realized gain on investments of approximately $415,300, increases in interest and fees receivable of approximately $180,300, amounts due from borrowers of approximately $273,200, and prepaid expenses of approximately $82,100, and a decrease in deferred revenue of approximately $91,000.
Net cash used for investing activities for the nine months ended September 30, 2021 was approximately $85.0 million compared to approximately $41.4 million for the comparable 2020 period. For the 2021 period, net cash used for investing activities consisted primarily of net principal disbursements for mortgages receivable of approximately $64.3 million, purchase of an interest in investment partnership of approximately $1.8 million, net purchases of investment securities of approximately $19.2 million, acquisitions of and improvements to real estate owned of approximately $333,400, purchase of property and equipment of approximately $817,800 and costs in connections with investment activities of approximately $281,000, offset by proceeds from the sale of real estate owned of approximately $1.8 million. For the 2020 period, net cash used for investing activities consisted primarily of net principal disbursements for mortgages receivable of approximately $30.2 million, net purchases of investment securities of approximately $11.3 million and the purchase of property and equipment of approximately $118,000, and improvements to real estate owned of approximately $1.6 million, offset by proceeds from the sale of real estate owned of $1.8 million.
Net cash provided by financing activities for the nine months ended September 30, 2021 was approximately $67.5 million compared to approximately $20.5 million for the comparable 2020 period. Net cash provided by financing activities for the 2021 period consists principally of the net proceeds from issuance of common shares of approximately $30.9 million, net proceeds from the issuance of preferred stock of approximately $45.5 million and proceeds from our line of credit of approximately $2.0 million, which increases were offset by dividends paid on common stock of approximately $8.8 million, dividends paid on preferred stock of approximately $932,000, repayment of mortgage payable of approximately $768,000 and financing costs incurred of approximately $451,000. Net cash provided by financing activities for the 2020 period consists principally of the net proceeds from the issuance of fixed rate notes of approximately $14.4 million, proceeds from our line of credit of approximately $12.1 million and proceeds from other loans of approximately $258,000, which were offset by dividends paid of approximately $5.3 million and the payment of financing costs of approximately $852,000.
In June 2021 and July 2021, we raised aggregate net proceeds of approximately $45.5 million (after deducting underwriting discounts and commissions and offering expenses) from the sale of an aggregate of 1,903,000 shares of our Series A Preferred Stock in a firm commitment underwritten public offering at a public offering price of $25.00 per share, equal to the liquidation preference (the “Series A Offering”) as described in Notes 11 and 14 to the accompanying financial statements.