Elon Musk, chief executive officer of Tesla Inc., arrives at federal court in New York, U.S., on Thursday, April 4, 2019. The SEC says Musk violated his agreement with the agency when he tweeted on February 19 that Tesla would make about half a million cars in 2019, before tweeting a few hours later that deliveries would only reach about 400,000.

Tesla Inc Chief Executive Elon Musk personally owes $507 million to Wall Street banks involved in Tesla's stock and debt sale, backed by his stake in the electric car maker, a company filing showed on Thursday.

The lending was disclosed in Tesla's prospectus on Thursday to raise up to $2.3 billion with new shares and convertible debt, and it was $117 million less than the personal loans to Musk disclosed in Tesla's previous prospectus in 2017.

Still, Tesla said that if the price of its stock falls and the banks force Musk to sell some of his shares, that could create additional pressure on the stock.

Tesla jumped over 4% after Tesla disclosed capital raising plans, which soothed investors' recent concerns about the Palo Alto, California company and pulled its stock up from two-year lows.

Musk, who owns 20% of Tesla, has taken personal loans from Wall Street banks for years. A Tesla 2017 prospectus showed $624 million in loans to Musk.

The filing on Thursday showed Musk owed money to three banks working on the capital increase.

Goldman Sachs Group Inc has $213 million in loans outstanding to Musk, while he owes Morgan Stanley $209 million, and another $85 million to Bank of America Corp. Goldman was not mentioned as a personal lender to Musk in the 2017 filing.

Those loans are backed by Musk's shares in Tesla, currently worth a total of around $8 billion. If Tesla's stock declines, then Musk could be forced to sell some of those shares under terms of the loan, according to the Tesla filing.