General and administrative expenses. General and administrative expense decreased $4,328,640 to $7,212,504 for the six months ended June 30, 2020, as compared to $11,541,144 for the six months ended June 30, 2019. The primary reason for the decrease is the acquisition related costs incurred in 2019 that were not incurred in 2020.
Interest expense. Interest expense increased $3,468,613 to $8,501,538 for the six months ended June 30, 2020, as compared to $5,032,925 for the six months ended June 30, 2019. This increase was the result of a larger amount drawn on our Credit Facility, most of which was incurred in the acquisition of our Northwest Shelf assets in 2019.
Realized gain on derivative instruments. Realized gain on derivatives for the six months ended June 30, 2020 was $17,087,695. There was no realized gain or loss on derivatives during the six months ended June 30, 2019. This change is the result of significantly lower oil prices.
Unrealized loss on derivative instruments and hedging activities. The Company records all derivative instruments, other than those that meet the normal purchases and sales exception, on the balance sheet as either an asset or liability measured at fair value. Changes in fair value are recognized currently in earnings unless specific hedge accounting criteria are met. During the six months ended June 30, 2020, the change in fair value resulted in the recognition of a gain of $20,315,152 on derivative contracts as compared to a gain of $1,189,545 during the same period in 2019.
Net income (loss). For the six months ended June 30, 2020, the Company had net loss of $91,195,948, as compared to net income of $15,611,857 for the six months ended June 30, 2019. The largest contributor to this change is the ceiling test write down, though reduced revenues from lower production, lower received commodity prices and realized and unrealized losses on derivative instruments had a significant impact as well.
Capital Resources and Liquidity
As shown in the financial statements for the six months ended June 30, 2020, the Company had cash on hand of $17,229,780, compared to $10,004,622 as of December 31, 2019. The Company had net cash provided by operating activities for the six months ended June 30, 2020, of $30,186,083, compared to $35,411,743 for the same period of 2019. The other most significant cash inflows during the periods were proceeds from draws on our Credit Facility of $21,500,000 and $321,000,000, respectively in 2020 and 2019. The most significant cash outflows during the six months ended June 30, 2020 and 2019 were capital expenditures in connection with the purchase and development of oil and gas properties of $31,320,213 and $349,172,411, respectively, and payments on our Credit Facility of $13,000,000.
Given the ongoing COVID-19 pandemic, challenging market conditions and recent market events, we continue to remain focused on maintaining a strong balance sheet and adequate liquidity. Over the near term, we plan to reduce, defer or cancel certain planned capital expenditures and reduce our overall cost structures commensurate with our expected level of activities. We believe that our cash on hand, cash flows from our hedges and availability under the Credit Facility will be sufficient to fund our operations and service our debt over at least the next 12 months.
The effects of the COVID-19 pandemic have resulted in a significant and swift reduction in international and U.S. economic activity. Furthermore, they have adversely affected the demand for oil and natural gas, and caused significant volatility and disruption of the financial markets. This period of extreme economic disruption, low oil prices and reduced demand has had, and is likely to continue to have, a material adverse impact on our business, results of operations, access to sources of liquidity and financial condition. In view of the uncertainty of the extent of the contraction in oil demand due to the COVID-19 pandemic combined with the weaker commodity price environment, we have turned our strategic focus to reducing costs and maintaining cash flows.
Availability of Capital Resources under Credit Facility
On July 1, 2014, the Company entered into a Credit Agreement with SunTrust Bank, as lender, issuing bank and administrative agent for several banks and other financial institutions and lenders (the “Administrative Agent”), which was amended on June 14, 2018, May 18, 2016, July 24, 2015 and June 26, 2015. In April 2019, the Company amended and restated its Credit Facility with the Administrative Agent. In June 2020, the Company amended and restated its Credit Agreement with the Administrative Agent (as amended and restated, the “Credit Facility”). The amendment and restatement of the Credit Facility, among other things, decreased the borrowing base (the “Borrowing Base”) to $375 million, subject to periodic redeterminations, adjusted the interest rates and provided some relief on the total