And as we have previously disclosed and subsequent to the end of the quarter, we raised an additional $18.6 million in equity and refinanced our $25 million debt facility. Our new debt facility is with MidCap Financial and provides for up to $31 million of debt comprised of a $21 million term loan and a revolving line of credit commitment of up to $10 million.
The revolver may be increased at a later date to $15 million at our request and with the approval of MidCap. However the amount available under the revolver is subject to our borrowing base, which is tied to certain accounts receivable and inventory balances. At closing, our borrowing base was $5.4 million and we drew $4 million of the revolver for a total debt outstanding of $25 million.
The facility carries a 54-month term with interest-only payments on the term loan for the first 24 months. The interest rate on the term loan is 8% plus the greater of LIBOR or one half of 1% and at the closing resulted in a rate of 8.5%. Borrowings under the revolving line of credit bear interest at a rate of 4.5% plus the greater of LIBOR or one half of 1%, which at the closing resulted in rate of 5%.
Annual interest cost savings of this new facility is estimated to be at least $1.5 million compared to the previous debt facility. Proceeds from the new facility were used to repay and retire our previous $25 million term loan and revenue royalty interest agreement with Three Peaks Capital.
Fees and expenses associated with this agreement were approximately $700,000 and prepayment fees of approximately $2.3 million net of accrued interest were paid from the company's own funds. After giving effect of the equity raise and debt refinancing our September 30 pro forma cash would have been $31.7 million and pro forma debt would remain $25 million.