On January 21, 2021, we entered into an underwriting agreement, which was subsequently amended and restated on the same day (the “Underwriting Agreement”) with H.C. Wainwright & Co., LLC, as representative of the underwriters (the “Underwriters”), to issue and sell 51,948,052 shares of common stock, in an underwritten public offering pursuant to effective registration statements on Form S-3, including a related prospectus and prospectus supplement, in each case filed with the Securities and Exchange Commission (the “2021 Public Offering”). The price to the public in the 2021 Public Offering was $1.925 per share of common stock. The Underwriters agreed to purchase the shares from us pursuant to the Underwriting Agreement at a price of $1.799875 per share and the Company also agreed to reimburse them for customary fees and expenses. The initial closing of the 2021 Public Offering occurred on January 26, 2021. Subsequent to the initial closing, the Underwriters exercised their option to purchase an additional 7,792,207 shares of Common Stock. Total net proceeds from the 2021 Public Offering were $106.1 million after deducting underwriting discounts and commissions and estimated offering expenses.
On January 17, 2021, we entered into a Securities Purchase Agreement (the “Purchase Agreement”) with certain institutional purchasers (the “Purchasers”), pursuant to which we sold to the Purchasers, in a registered direct offering (the “Registered Direct Offering”), an aggregate of 40,000,000 shares (the “Shares”) of common stock, $0.001 par value per share. The Shares were sold at a purchase price of $1.25 per share for aggregate gross proceeds to the Company of $50.0 million, before deducting fees to the placement agent and other estimated offering expenses payable by the Company. The Shares were offered and sold by the Company pursuant to an effective shelf registration statement on Form S-3, which was originally filed with the Securities and Exchange Commission on November 27, 2019. The net proceeds to the Company from the Registered Direct Offering, after deducting fees and expenses and the estimated offering expenses payable by us are approximately $46.1 million.
On November 9, 2020, we entered into an equity line agreement, (“Equity Line Agreement”), with Energy Capital, LLC (“Energy Capital”), which provides that, upon the terms and subject to the conditions and limitations set forth therein, Energy Capital is committed to purchase up to an aggregate of $12.0 million of shares of our newly designated series B convertible preferred stock (“the Series B Preferred Stock”), at our request from time to time during the 24-month term of the Equity Line Agreement. There have been no issuances of Series B Preferred Stock as of June 30, 2022.
Under the Equity Line Agreement, beginning January 21, 2021, subject to the satisfaction of certain conditions, including that we have less than $8.0 million of cash, cash equivalents and other available credit (aside from availability under the Equity Line Agreement), we have the right, in our sole discretion, to present Energy Capital with a purchase notice (“Regular Purchase Notice”) directing Energy Capital (as principal) to purchase shares of Series B Preferred Stock at a price of $1,000 per share (not to exceed $4.0 million worth of shares) once per month, up to an aggregate of $12.0 million of our Series B Preferred Stock at a per share price (the “Purchase Price”), equal to $1,000 per share of Series B Preferred Stock, with each share of Series B Preferred Stock initially convertible into common stock, beginning six months after the date of its issuance, at a conversion price of $0.3951 per share. The Equity Line Agreement provides that we shall not affect any Regular Purchase Notice under the Equity Line Agreement on any date where the closing price of the common stock on the NYSE American is less than $0.25 without the approval of Energy Capital.
Concurrently with entry into the Equity Line Agreement, we issued a warrant to Energy Capital, exercisable beginning May 9, 2021, to purchase up to 10,000,000 shares of common stock at an exercise price of $0.3951 per share, (the “Warrant”). The Warrant was exercised in full in February 2022.
On August 9, 2020, we entered into a financing agreement with Ascensia pursuant to which we issued $35.0 million in aggregate principal amount of Senior Secured Convertible Notes due on October 31, 2024 (the “PHC Notes”), to Ascensia’s parent company, PHC Holdings Corporation (“PHC”), on the Closing Date. We also issued PHC 2,941,176 shares of common stock to PHC as a financing fee. We also have the option to sell and issue PHC up to $15.0 million of convertible preferred stock on or before December 31, 2022, contingent upon obtaining approval for the 180-day Eversense product for marketing in the United States before such date. Upon the closing of the PHC Notes, we prepaid in full the First Lien Notes, issued and sold pursuant a loan agreement with Highbridge Capital Management, LLC (“Highbridge”) (the “Highbirdge Loan Agreement”), in the amount of approximately $17.6 million.
Additionally, on August 9, 2020, we entered into a Stock Purchase Agreement with Masters Special Solutions,