In connection with the closing of the IPO on July 23, 2014, Terra Operating LLC entered into a term loan facility (the "Term Loan"). The Term Loan initially provided for up to a $300.0 million senior secured term loan, which was used to repay a portion of the outstanding borrowings under the Amended Bridge Credit Facility. On December 18, 2014, the Company obtained additional financing by increasing the Term Loan by $275.0 million to a total of $575.0 million.
On January 28, 2015, the Company repaid the remaining outstanding principal balance on the Term Loan of $573.5 million. The Company recognized a $12.0 million loss on extinguishment of debt during the year ended December 31, 2015 as a result of this repayment.
Revolving Credit Facilities
In connection with the closing of the IPO on July 23, 2014, Terra Operating LLC entered into a senior secured revolving credit facility that initially provided for up to $140.0 million, which was increased by $75.0 million to a total of $215.0 million on December 18, 2014. As of December 31, 2014, no amounts had been drawn on the facility.
On January 28, 2015, Terra Operating LLC replaced its existing revolver with a new $550.0 million revolving credit facility (the "Revolver"). The Revolver consisted of a revolving credit facility of at least $550.0 million available for revolving loans and letters of credit. The Company recognized a $1.3 million loss on extinguishment of debt during the year ended December 31, 2015 as a result of the revolver exchange.
On May 1, 2015 and August 11, 2015, Terra Operating LLC exercised its option to increase its borrowing capacity under the Revolver by $100.0 million and $75.0 million, respectively. As a result of these transactions, the Company had a total borrowing capacity of $725.0 million under the Revolver as of December 31, 2015. There were $655.0 million of revolving loans outstanding under the Revolver as of December 31, 2015.
The Revolver matures on January 28, 2020. Each of Terra Operating LLC's existing and subsequently acquired or organized domestic restricted subsidiaries (excluding most non-recourse subsidiaries) and Terra LLC are or will become guarantors under the Revolver.
On December 9, 2015, Terra Operating LLC entered into a third amendment to its credit and guaranty agreement which amended the Leverage Ratio (as defined therein) from 5:00:1:00 (subject to certain increases if certain acquisitions are consummated), to as follows:
6:00:1:00 for any fiscal quarter occurring after September 30, 2015, but ending on or before December 31, 2016;
5.75:1:00 for any fiscal quarter occurring after December 31, 2016, but ending on or before December 31, 2017; and
5:00:1:00 for any fiscal quarter ending after December 31, 2017 (subject to certain increases if certain acquisitions are consummated).
At Terra Operating LLC’s option, all outstanding amounts under the Revolver initially bore interest at a rate per annum equal to either (i) a base rate plus a margin of 1.50%, or (ii) a reserve adjusted Eurodollar rate plus a margin of 2.50%. Beginning July 1, 2015 (and prior to the sixth and eighth amendment discussed below), the base rate margin ranges between 1.25% and 1.75% and the Eurodollar rate margin ranges between 2.25% and 2.75%, as determined by reference to a leverage-based grid.
The Revolver provides for voluntary prepayments, in whole or in part, subject to notice periods, and requires Terra Operating LLC to prepay outstanding borrowings in an amount equal to 100% of the net cash proceeds received by Terra LLC or its restricted subsidiaries from the incurrence of indebtedness not permitted by the Revolver by Terra Operating LLC or its restricted subsidiaries.
The Revolver, each guaranty and any interest rate, currency hedging or hedging of REC obligations of Terra Operating LLC or any guarantor owed to the administrative agent, any arranger or any lender under the Revolver is secured by first priority security interests in (i) all of Terra Operating LLC's and each guarantor’s assets, (ii) 100% of the capital stock of Terra Operating LLC and each of its domestic restricted subsidiaries and 65% of the capital stock of each of Terra Operating LLC’s