's production in the first quarter was slightly lower than the fourth quarter of last year due to supply chain challenges and plant shutdowns.

Despite ongoing supply chain challenges and factory shutdowns, Tesla (NASDAQ: TSLA) produced more than 305,000 vehicles and delivered more than 310,000 vehicles in the first quarter, the company said Saturday.

Tesla delivered 310,048 vehicles in the first quarter, an all-time high and up 67.77 percent from 184,800 vehicles in the same period last year. But that's up just 0.47 percent from 308,600 vehicles in the fourth quarter of last year.

It delivered 295,324 Model 3 and Model Y vehicles in the first quarter, accounting for 95.3 percent of total deliveries, which was slightly lower than the 96.2 percent in the fourth quarter of last year.

Deliveries of Model S and Model X vehicles were 14,724 in the first quarter, up from 11,750 in the fourth quarter of last year.

In terms of production, Tesla produced 305,407 vehicles in the first quarter, slightly lower than the 305,840 vehicles produced in the fourth quarter of last year.

The company produced 291,189 Model 3 and Model Y vehicles in the first quarter, down from 292,731 in the fourth quarter of last year.

Production of Model S and Model X vehicles was 14,218 in the first quarter, up from 13,109 in the fourth quarter of last year.

The small decline in Tesla's production in the first quarter may be related to the fact that the Shanghai plant, which currently only produces Model 3 and Model Y vehicles, was shut down for several days due to Covid controls.

Reuters reported in mid-March that Tesla Giga Shanghai suspended production for two days on March 16 and March 17, and resumed production on March 18.

On March 28, Reuters said that Tesla Giga Shanghai would suspend production for four days to comply with the city's policy on Covid control.

In an updated report published on March 31, Reuters cited an internal notice that said Tesla had canceled plans to have the Shanghai plant resume production on Friday and Saturday.

According to previous Tesla delivery figures for China-made vehicles, each day of downtime at Giga Shanghai meant a loss of about 2,000 units of production.