Financial report context:
american tower corporation and subsidiaries notes to consolidated financial statements 2014 ( continued ) the term of the economic rights agreement is seventy years ; however , tv azteca has the right to purchase , at fair market value , the economic rights from the company at any time during the last fifty years of the agreement . should tv azteca elect to purchase the economic rights ( in whole or in part ) , it would also be obligated to repay a proportional amount of the loan discussed above at the time of such election . the company 2019s obligation to pay tv azteca $ 1.5 million annually would also be reduced proportionally . the company has accounted for the annual payment of $ 1.5 million as a capital lease ( initially recording an asset and a corresponding liability of approximately $ 18.6 million ) . the capital lease asset and the discount on the note , which aggregate approximately $ 30.2 million , represent the cost to acquire the economic rights and are being amortized over the seventy-year life of the economic rights agreement . on a quarterly basis , the company assesses the recoverability of its note receivable from tv azteca . as of december 31 , 2005 and 2004 , the company has assessed the recoverability of the note receivable from tv azteca and concluded that no adjustment to its carrying value is required . an executive officer and former director of the company served as a director of tv azteca from december 1999 to february 2006 . as of december 31 , 2005 and 2004 , the company also had other long-term notes receivable outstanding of approximately $ 11.1 million and $ 11.2 million , respectively . 7 . financing arrangements outstanding amounts under the company 2019s long-term financing arrangements consisted of the following as of december 31 , ( in thousands ) : .

Financial table:
2005: american tower credit facility; 2004: $ 793000; column_3: $ 698000
2005: spectrasite credit facility; 2004: 700000
2005: senior subordinated notes; 2004: 400000; column_3: 400000
2005: senior subordinated discount notes net of discount and warrant valuation; 2004: 160252; column_3: 303755
2005: senior notes net of discount and premium; 2004: 726754; column_3: 1001817
2005: convertible notes net of discount; 2004: 773058; column_3: 830056
2005: notes payable and capital leases; 2004: 60365; column_3: 59986
2005: total; 2004: 3613429; column_3: 3293614
2005: less current portion of other long-term obligations; 2004: -162153 ( 162153 ); column_3: -138386 ( 138386 )
2005: long-term debt; 2004: $ 3451276; column_3: $ 3155228

Additional report context:
new credit facilities 2014in october 2005 , the company refinanced the two existing credit facilities of its principal operating subsidiaries . the company replaced the existing american tower $ 1.1 billion senior secured credit facility with a new $ 1.3 billion senior secured credit facility and replaced the existing spectrasite $ 900.0 million senior secured credit facility with a new $ 1.15 billion senior secured credit facility . as a result of the repayment of the previous credit facilities , the company recorded a net loss on retirement of long-term obligations of $ 9.8 million in the fourth quarter of 2005. .

Question: what was the increase in long-term debt between 2004 and 2005 in thousands?
Answer: 296048