Tesla Inc on Friday posted record deliveries for the January to March quarter, beating Wall Street estimates, as sales gains of the Model 3 and Model Y offset the impact of a global shortage of parts.

We are encouraged by the strong reception of the Model Y in China and are quickly progressing to full production capacity, Tesla said in a statement.

The new Model S and Model X have also been exceptionally well received … and we are in the early stages of ramping production, it added.

Teslas Shanghai factory started production of the Model Y late last year in the key market where it already produces Model 3 sedans. In February, Teslas China sales jumped 18 from the previous month even as demand usually falls during Chinas Lunar New Year holidays which occurred that month.

The electriccar maker delivered 184,800 vehicles globally during the first quarter, above estimates of 177,822 vehicles, according to Refinitiv data.

This also exceeds its previous record of 180,570 achieved last quarter.

In February, Tesla suspended its California plant for two days due to parts shortages, at a time when Detroit automakers including General Motors Co and Ford Motor Co halted some of their factories for several weeks.

Other automakers on Thursday reported a rebound in firstquarter U.S. sales from a coronavirusinduced slump last year, but volumes were capped by a global chip scarcity that forced many companies to cut production.

Tesla delivered 2,020 Model SXs in the first…