Read the following texts and table with financial data from an S&P 500 earnings report carefully.Based on the question-answer history (if provided), answer the last question. The answer may require mathematical calculation based on the data provided.

Text: 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 ) : . <table class='wikitable'><tr><td>1</td><td>-</td><td>2005</td><td>2004</td></tr><tr><td>2</td><td>american tower credit facility</td><td>$ 793000</td><td>$ 698000</td></tr><tr><td>3</td><td>spectrasite credit facility</td><td>700000</td><td>-</td></tr><tr><td>4</td><td>senior subordinated notes</td><td>400000</td><td>400000</td></tr><tr><td>5</td><td>senior subordinated discount notes net of discount and warrant valuation</td><td>160252</td><td>303755</td></tr><tr><td>6</td><td>senior notes net of discount and premium</td><td>726754</td><td>1001817</td></tr><tr><td>7</td><td>convertible notes net of discount</td><td>773058</td><td>830056</td></tr><tr><td>8</td><td>notes payable and capital leases</td><td>60365</td><td>59986</td></tr><tr><td>9</td><td>total</td><td>3613429</td><td>3293614</td></tr><tr><td>10</td><td>less current portion of other long-term obligations</td><td>-162153 ( 162153 )</td><td>-138386 ( 138386 )</td></tr><tr><td>11</td><td>long-term debt</td><td>$ 3451276</td><td>$ 3155228</td></tr></table> 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: between the years of 2004 and 2005, what was the variation in the long-term debt?

user
296048.0
assistant