In a Thursday, June 14, 2018 file photo, Tesla CEO and founder of the Boring Company Elon Musk speaks at a news conference, in Chicago.
Kiichiro Sato/AP
In a Thursday, June 14, 2018 file photo, Tesla CEO and founder of the Boring Company Elon Musk speaks at a news conference, in Chicago.
Now playing
01:39
Elon Musk steps down as Tesla chairman
Now playing
02:41
Delta CEO: All future employees must be vaccinated
Pool
Now playing
02:11
Biden issues warning to gas station owners on price gouging
Now playing
01:40
Gas lines are getting longer. But experts are urging people not to hoard fuel
A Now Hiring banner sign is viewed outside a Chipotle restaurant during a new coronavirus pandemic, Tuesday, March 2, 2021, in Orlando, Fla. (Phelan M. Ebenhack via AP)
Phelan M. Ebenhack/AP
A Now Hiring banner sign is viewed outside a Chipotle restaurant during a new coronavirus pandemic, Tuesday, March 2, 2021, in Orlando, Fla. (Phelan M. Ebenhack via AP)
Now playing
02:39
Chipotle raises its average pay wage to $15 per hour
Now playing
02:47
IBM CEO: Cybersecurity needs to be a collective effort led by government
Now playing
03:10
Cybersecurity expert on why ransomware attacks are becoming more common
Boston-based REGENT's "seaglider" is a mix between a boat and an aircraft with a top speed of 180 mph.
REGENT
Boston-based REGENT's "seaglider" is a mix between a boat and an aircraft with a top speed of 180 mph.
Now playing
01:00
It's a boat? It's a plane? No, it's a 'seaglider.' And it goes fast...really fast
Newsmax
Now playing
02:36
Watch: Former Obama speechwriter trolls Newsmax anchor live on TV
CNN
Now playing
01:38
Lawmakers push airlines to drop flight credit restrictions
CNN/@walidbarahmeh
Now playing
03:04
China's out-of-control rocket lands on Earth
CNN
Now playing
04:35
Biden on disappointing jobs report: More help is on the way
Now playing
03:05
Restaurants, once laying off workers, now can't find enough to hire
SpaceX
Now playing
01:10
Watch SpaceX land its Mars rocket prototype for the first time
Now playing
02:52
Businesses set vaccine mandate for workers
CNN
Now playing
05:16
WTF is a SPAC?
(CNN Business) —  

A tumultuous quarter at Tesla ended with some very good sales numbers.

The company delivered 83,500 vehicles during the third quarter, a strong performance that should calm investor fears about logistical problems and a looming cash crunch. That included almost 56,000 of the lower-priced Model 3.

Production was a bit below that number: Tesla said it built about 53,000 Model 3s. But that was within the company’s projections.

Only three months ago, the company struggled to build 5,000 Model 3s in a week, a long-delayed target. Tesla did not maintain that pace, but production was still high enough to keep the company on track to turn a sustained profit for the first time.

Tesla was sorely in need of good news.

In August, CEO Elon Musk proposed, then abandoned, plans to take the company private. The SEC sued Musk last week, claiming he had deceived investors by claiming in a tweet that he had secured financing to go private.

On Saturday, the second to last day of the quarter, Musk reached a deal with the SEC to pay a $20 million fine and step aside as chairman of Tesla. He will remain as CEO, news that relieved Wall Street on Monday.

Executives have also left the company in recent months, including the chief accounting officer, who quit after less than a month on the job.

Tesla (TSLA) stock closed down about 3% following the production and sales report.

Tesla will release revenue and profit numbers later in the quarter. The report did not give details on where those figures would come in. It did say that all Model 3s sold at the end of the quarter were the more expensive all-wheel-drive models, powered by dual electric motors.

Musk also sent an email to all Tesla employees over the weekend saying that the company was close to its goal of being profitable.

“We are very close to achieving profitability and proving the naysayers wrong, but, to be certain, we must execute really well tomorrow (Sunday),” he wrote, referring to the last day of the quarter. “If we go all out tomorrow, we will achieve an epic victory beyond all expectations.”

The company has reported only two quarters of modest profits in its 10-year history. It has reported a total of $6 billion in losses during that time.

Tesla has $1.2 billion in debt maturing within the next six months, which has prompted some analysts to project