Thank you, and thanks to everyone for joining us today. I am pleased to report that our company once again achieved solid financial results for the second quarter of 2021.
Specifically, our quarterly revenue increased 56% to $6.7 million compared to $4.3 million for the same period of 2020. The increase in quarterly revenue was due in large part to an increase in interest income on our loan portfolio which increased 43% versus the same period last year.
We also achieved net income of $2.5 million and generated over $6.1 million of cash flow from operations. We attribute these positive operating metrics to the fact the fix-and-flip market has been quite robust in our traditional markets as demand for property has outstripped supply. Nevertheless, our strategy continues to adhere to our current and strict underwriting guidelines, which we believe will allow us to continue to grow our loan portfolio while protecting and preserving capital in a manner that provides attractive risk-adjusted returns to our shareholders. At the same time, our access to the capital markets has provided us with liquidity to fuel our growth and to date, we raised approximately $114.5 million of unsecured unsubordinated notes.
Although we have higher interest expense resulting from the issuance of the notes, we expect to benefit from the liquidity and financial flexibility provided by these securities.
In addition we have in place a low-cost line of credit with Wells Fargo which is secured by the company's portfolio of short-term securities. The credit line bears interest at a rate of 1.5%, which is 1.75% below the prime rate as of June 30, 2021. More recently, we announced a $200 million master repurchase financing facility with Churchill MRA Funding, a subsidiary of Churchill Real Estate, an established real estate finance company based in New York. This facility is expected to reduce our overall cost of capital and finance the continued expansion of our lending business and for general corporate purposes. We believe the size and favorable terms of this facility reflect our growth as an organization and the strength of our loan portfolio.
We also believe our ability to secure low-cost debt financing such as our Wells Fargo and Churchill facilities provides us flexibility to adapt to potential margin compression that may occur due to competitive pressures.
We continue to invest heavily in our organization to support the next phase of our growth. These investments in personnel and operations are important for our future as they provide us the resources to continue scaling the business.
Our strategy to diversify our portfolio is beginning to peg off as we are expanding the geographic footprint of our mortgage loan portfolio beyond Connecticut.
We are also targeting higher value loans with financially stable experienced developers where our loan collateral is less susceptible to value swings in residential markets.
We are also enhancing our marketing platform which allows us tracking of campaign metrics. In turn, this enables us to improve deal flow with only minor investments in time and money.
As a result, we believe the conspicuous increase in closed volume during the first half of 2021 is partly a result of our improved market tracking methods.
Looking ahead, we believe there will be several key drivers for our growth.
First, the overall economic climate has improved due to the easing of restrictions imposed by states post-COVID, which is having a positive impact on the overall economy. That said, we continue to monitor the recent resurgence of infections including the Delta variant.
As we've shown in the past, we believe we are well positioned to adapt to any changes in the market.
Second, the competitive landscape for us remains favorable. Notwithstanding the improvements in the economy, many banks and other traditional lenders still have restrictive lending criteria and many non-traditional lenders are undercapitalized. That said, we react quickly and decisively to the needs of our borrower.
Our flexibility in structuring loans with greater emphasis on the value of the collateral rather than the property cash flow or credit of the borrower and our ability to close quickly make Sachem a preferred funding choice with investors and developers.
Third, as I mentioned earlier, we continue our expansion beyond Connecticut with a growing presence in other states.
We continue to look for opportunities in new markets that meet our basic underwriting criteria. Fourth, we have been diversifying our mortgage portfolio into additional asset classes such as larger multifamily and higher end fix-and-flip properties.
We are funding larger loans than we have in the past that are secured by what we believe are higher-quality properties being developed by borrowers that we deem to be more stable and successful.
In addition we believe the migration to these types of loans will offset any rate compression and help us maintain a low foreclosure rate.
Next, we plan to partner and invest with local hard money real estate lenders creating satellite offices under the Sachem umbrella that can help us capitalize on lending opportunities in specific markets. Under these arrangements, we would provide loan funding capital as well as underwriting and servicing expertise while our local partners would provide us boots on the ground lending opportunities. And finally, we are maintaining a low [Technical Difficulty] that provides us flexibility to meet the growth in demand for our loan products.
In fact, we reduced our debt-to-equity ratio to 51% as of June 30th compared to 63% as of March 31st of this year.
Our ability to successfully pivot our business and quickly adapt to changes in the marketplace has been a key to our success. We believe our ability to adapt to new market conditions will position us to drive long-term shareholder value in almost any market environment. We recognized that prices of home values have appreciated quite significantly, especially as many city residents have migrated to the suburbs. That being said we continue to adhere to a strict loan-to-value ratio and other underwriting guidelines that we believe provide us with a significant buffer, even if property values decline.
We also seek to mitigate some of the potential risks associated with rising rates by limiting the term of new loans to one year. At June 30, 2021, approximately 88% of the mortgage loans in our portfolio had a term of one year or less. If at the end of the term, the loan is not in default and meets our other underwriting criteria, we will consider an extension or renewal of the loan at our prevailing rates.
Looking ahead, I am pleased to report our loan pipeline is robust and expanding.
As a result, we remain highly encouraged by the prospects for our continued growth in 2021 and beyond. I would now like to touch on some key financial highlights. Then talk more about our strategy going forward.
If you need any additional insight into the financial, details please review our recently filed 10-Q and press release.
First, total revenue for the second quarter of 2021 increased 56% to approximately $6.7 million compared to approximately $4.3 million for the same period last year. The increase in revenue is primarily attributable to the growth in our lending operations. Interest income, increased approximately 43% or $1.4 million. Origination fee income increased approximately 29% or $184,000. And other income, which includes in-house legal fees, loan closing fees, loan extensions and modifications, increased by 92% or $260,000. In the second quarter of 2021, we had $85,000 of gains from the sale of investment securities, compared to a loss of approximately $9000 for the 2020 period.
Finally, for the three months ended June 30, 2021, we recognized gain on the extinguishment of debt of approximately $258,000. Total operating costs and expenses for the second quarter of 2021 were approximately $4.2 million compared to $2 million for the same period last year. The increase in operating costs and expenses is primarily attributable to the approximate $56 million of unsecured unsubordinated five-year notes we raised in 2020. In the 2021 period, interest and amortization of deferred financing cost was approximately $2.5 million compared to approximately $1.2 million for the same 2020 period.
Our overall indebtedness was approximately $149 million as of June 30, 2021 compared to approximately $139 million as of December 31, 2020. Included in our outstanding indebtedness as of June 30 was our credit line of approximately $34.3 million and three series of unsecured unsubordinated five-year notes, having an aggregate principal amount of approximately $114.5 million, including deferred financing costs.
Although we have higher interest expense due to the increase of our unsecured bond debt, we expect to benefit from the liquidity and financial flexibility provided by these offerings, as we prudently invest this capital. Net income for the three months ended June 30, 2021 was approximately $2.5 million or $0.10 per share, compared to $2.3 million or $0.10 per share for the comparable year ago period. The increase in net income was generally related to the growth in our loan portfolio and significant origination fee income, offset by higher debt service costs. Overall, we believe our financial results are evidence of our strong competitive position in the market and representative of the long-term growth prospects of our business model going forward.
In terms of Sachem's financial condition as of June 30, 2021 compared to December 30, 2020, total assets increased by approximately $69.6 million from approximately $227 million to approximately $296 million. The increase was due primarily to the increase in cash, cash equivalents and investment securities of $50 million, an increase in our mortgage loan portfolio of approximately $17.2 million and increase in a partnership investment of approximately $1.8 million and an increase in property and equipment of $736,000. The increase in property and equipment is due to the purchase of an office building in Branford that will become our new corporate headquarters in 2022. Total liabilities as of June 30, 2021, were approximately $150 million compared to approximately $145.8 million at December 31, 2020. This increase is principally due to an increase in our line of credit of approximately $6.2 million, offset by a decrease in dividends payable of approximately $2.7 million and a decrease in mortgage payable of $770,000 reflecting the mortgage payoff on our current office building. Shareholders' equity was approximately $146 million compared to approximately $81 million as of December 31, 2020, an increase of approximately $65 million. This increase was due primarily to the closing of our Series A preferred stock offering on June 29, 2021, with net proceeds of $40.6 million as well as net proceeds of $22.9 million from the sale of stock through our ATM and net income of approximately $4.7 million.
Our loan portfolio increased by approximately $17.2 million and our balance sheet remains solid with over $296 million of assets, backing $114.5 million of unsecured note principal.
As a mortgage REIT, our debt levels are extraordinarily low versus our peers, thereby providing stability during difficult times. It's important to reiterate that as of June 30, 2021, we reduced our debt-to-equity ratio to 51% compared to 63% at March 31, 2021. This was due in large part to the closing of our Series A preferred stock offering.
As of June 30, 2021, of the 477 mortgage loans in the company's portfolio, just 12 or approximately 2.5% were the subject of foreclosure proceedings. The aggregate outstanding balance is due on these loans as of June 30, 2021, including unpaid principal, accrued interest and borrower charges was approximately $2.6 million. In the case of each of these loans, the company believes the value of the collateral exceeds the total amount due. Real estate owned decreased to $7.9 million compared to $8.9 million at year-end. At June 30, 2021, real estate owned included $1 million of real estate held for rental and $6.9 million of real estate held for sale. On April 30, 2021, we sold a property classified as real estate held for sale, receiving approximately $280,000 in net proceeds. Even though REO was lower during the six-month period, eviction moratoriums have hampered the sales of our REO. Net cash provided by operating activities for the six months ended June 30, 2021, was $6.1 million compared to approximately $4.0 million for the same 2020 period.
Our primary business objective remains constant: to grow our loan portfolio while protecting and preserving capital in a manner that provides for attractive risk-adjusted returns to our shareholders. We intend to achieve this objective by accelerating profitable growth and driving operational excellence.
Given our strong balance sheet, we are funding larger loans than we have in the past, which we believe are secured by higher-quality properties, operated by established and better capitalized developers.
As I mentioned, we continue to strengthen the geographic footprint of our mortgage loan portfolio beyond Connecticut and New England, with a particular emphasis on Florida and Texas.
In addition to the aforementioned states, our current mortgage loan portfolio includes loans secured by properties in New York, Arizona, South Carolina and California.
We are also targeting larger value commercial loans, with strong financially stable sponsors.
Looking ahead, we see favorable competitive landscape and our loan pipeline remains robust. Shifting gears. In July, 2021, the company authorized, declared and paid a dividend of $0.12 a share to shareholders of record.
As a REIT, we are required to distribute a minimum of 90% of the company's taxable income to shareholders as dividends.
Let me now take a moment to discuss liquidity and capital resources.
As I mentioned earlier, we had cash and short-term marketable securities of approximately $107 million as of June 30, 2021, which will be used to increase our mortgage loan portfolio. This increase in our liquidity largely reflects $40.6 million of net proceeds from our Series A preferred stock offering, $22.9 million in net proceeds from the sale of our ATM and a $7.2 million increase in our investment securities portfolio. From January 1 through June 30, 2021, we funded $75.2 million of mortgage loans, loan modifications and construction draws. Supplementing our liquidity is the margin loan account from Wells Fargo with a total outstanding balance of $34.3 million at June 30, 2021. This credit facility which is secured by our portfolio of short-term securities provides us with additional flexibility at very attractive rates. It's also important to reiterate that we remain very careful about this debt for the sole purpose of financing our portfolio and not for speculating on changes in interest rates.
As I mentioned earlier on July 23, we announced a $200 million master repurchase financing facility with Churchill MRA Funding, which is expected to further reduce our overall cost of capital and help finance the continued expansion of our lending activities. A major advantage of this facility is the ability to raise capital as needed and at relatively low interest rates.
In addition if loan growth is anticipated, Sachem can pledge selected assets subject to a borrowing base without securitizing our entire loan portfolio, thereby keeping most of our assets unsecured.
As you can see, our ability to raise equity capital has been helpful to supplement the non-dilutive debt funding we've raised through our note offerings and credit line the last few years.
We are focused on growing our loan portfolio, while maintaining a healthy balance sheet and minimizing dilution. In June 2021 and July 2021, we raised aggregate net proceeds of approximately $40.6 million from the sale of our Series A preferred stock.
As a result, we believe we are well capitalized to take advantage of market demand for our loan products for the balance of 2021 and beyond. The fact that we successfully funded $75.2 million of mortgage loans in the first half of 2021, a 78% increase over comparable prior year periods provides us confidence we can maintain or even accelerate this pace and effectively deploy the newly raised capital, while continuing to generate attractive returns.
Moving forward, we will continue to monitor the ever-changing economic conditions.
Given the current market, we believe we are well positioned as the go-to non-bank real estate lender, while our competitors have tightened their lending criteria, or have fled this segment of the market. Despite the lingering unknowns associated with COVID, the demand for our products and services remains strong. This is reflected in our second quarter financial results and our growing presence in the lending marketplace. One final note, as I'm sure most of you are aware, our newly formed and wholly-owned subsidiary, Sachem Acquisition Corp. filed a registration statement for an IPO as a special purpose acquisition company, more commonly known as a SPAC.
Our goal for the SPAC is to raise approximately $50 million for the purpose of acquiring a business within the real estate sector, which could include real estate finance, property ownership and/or management. We see this as an opportunity to create value for Sachem shareholders, given the collective expertise of our management team and Board of Directors in the real estate sector. We'll be sure to provide updates to investors as developments unfold.
So to wrap up, I am pleased with our second quarter operating results having achieved total revenue growth of 56% versus the same period last year, as our loan fundings and transaction flow hit all-time records for the company. Despite our aspirations to grow our company, we are still maintaining a cautionary approach to the market and look forward to further deploying our capital, as we identify attractive opportunities, including new asset classes and markets.
Our lending platform is solid and sustainable given our strict underwriting criteria and extensive due diligence.
We have built a highly scalable business model to drive increased revenue, profits and dividends in the years ahead. I would like to thank you all for joining our call today. At this point, we will open up the call for questions.