Net cash provided by operating activities for the six months ended June 30, 2021 was approximately $6.1 million compared to approximately $4.0 million for same 2020 period. For the 2021 period net cash provided by operating activities consisted primarily of net income of $4.7 million, amortization of deferred financing costs and bond discount of $503,000, an impairment loss of $319,000, increase in deferred revenue of 131,000, and an increase in advances from borrowers of $1.2 million, offset by an increase in interest and fees receivable of $198,000, other receivables of $64,000, due from borrowers of $281,000, prepaid expenses of $82,000, and a gain on extinguishment of debt of $258,000. For the 2020 period net cash from operations consisted primarily of net income of $4.5 million, an impairment loss of $495,000, depreciation and amortization of deferred financing cost of $267,000, and an increase in advances from borrowers of $164,000, offset by a realized gain on investments of approximately $437,000, increases in interest and fees receivable of $186,000, amounts due from borrowers of $598,000, and prepaid expenses of $48,000, and a decrease in deferred income of $347,000.
Net cash used for investing activities for the six months ended June 30, 2021 was approximately $26.7 million compared to approximately $15.7 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 $17.2 million, purchase of an interest in investment partnership of $1.8 million, net purchases of investment securities of $7.4 million, acquisitions of and improvements to real estate owned of $286,000, purchase of property and equipment of $776,000 and costs in connections with investment activities of $193,000, offset by proceeds from the sale of real estate owned of $919,000. For the 2020 period, net cash used for investing activities consisted primarily of net principal disbursements for mortgages receivable of approximately $16.9 million, and the acquisition of and improvements to real estate owned of $1.0 million, offset by proceeds from the sale of real estate owned of $1.8 million and net proceeds from the sale of investment securities of approximately $512,000.
Net cash provided by financing activities for the six months ended June 30, 2021 was approximately $63.4 million compared to approximately $2.5 million of cash used 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 $22.9 million, net proceeds from the issuance of preferred stock of $40.6 million and proceeds from our line of credit of 6.2 million, which increases were offset by dividends paid of $5.4 million, repayment of mortgage payable of $768,000 and the payment of financing costs of approximately $88,000. Net cash used for financing activities for the 2020 period consists principally of dividends paid of approximately $2.7 million and financing costs incurred of approximately $58,000, offset by proceeds from other loans of $258,000.
On June 29, 2021, we sold 1,700,000 shares of Series A Preferred Stock for aggregate gross proceeds of $42.5 million and net proceeds, after deducting underwring discounts and commission and other offering expenses, of $40.6 million.
We project anticipated cash requirements for our operating needs as well as cash flows generated from operating activities available to meet these needs. Our short-term cash requirements primarily include funding of loans and payments for usual and customary operating and administrative expenses, such as interest payments on notes payable, employee compensation, sales, marketing expenses and dividends. Based on this analysis, we believe that our current cash balances and investment securities, and our anticipated cash flows from operations will be sufficient to fund the operations for the next 12 months.
Our long-term cash needs will include principal payments on outstanding indebtedness and funding of new mortgage loans. Funding for long-term cash needs will come from unused net proceeds from financing activities, operating cash flows and proceeds from sales of real estate owned.
From and after the effective date of our REIT election, we intend to pay regular quarterly distributions to holders of our common shares in an amount not less than 90% of our REIT taxable income (determined before the deduction for dividends paid and excluding any net capital gains).
Subsequent Events
On July 1, 2021, the underwriters of the Series A Preferred Stock offering partially exercised their overallotment option to purchase an additional 203,000 shares of Series A Preferred Stock, which was consummated on July 2, 2021. The gross proceeds from the sale of of the overallotment shares were $5.1 million and the net proceeds were approximately $4.9 million. The balance of the over-allotment option, 52,000 shares, was never exercised.
On July 21, 2021, we consummated a $200 million master repurchase financing facility (“Facility”) with Churchill MRA Funding I LLC (“Churchill”), a subsidiary of Churchill Real Estate, a vertically integrated real estate finance company based in New