SHANGHAI CATL, the world’s largest electric vehicle battery manufacturer, reported a 24 percent drop in first-quarter profit on Friday, the supplier’s first decline in two years, as it battles soaring raw material costs and a resurgence of COVID-19 in China.

CATL, whose customers include Tesla, Volkswagen Group and BMW Group, booked a net profit of 1.49 billion yuan ($226.69 million), a filing on the Shenzhen Stock Exchange showed.

That was down from 1.95 billion yuan profit a year earlier despite revenue rising sharply to 48.68 billion yuan from 19.17 billion yuan a year earlier.

Prices of key metals such as lithium nearly doubled in the first three months, weighing on CATL’s profit margins and prompting it to raise battery prices in March.

Other battery makers have also reported lower earnings for the latest quarter, hit by rising raw material costs and supply chain disruptions. South Korea’s LG Energy Solution reported a 24 precent quarterly profit drop earlier this week.

Like its rivals, CATL is ramping up production and mineral sourcing to meet growing demand for EVs.

It said earlier this month it had secured exploration rights for a lithium clay deposit in the central province of Jiangxi in China and set up a joint venture in Indonesia for nickel mining.

Consultant Wood Mackenzie says CATL is on track to more than triple its cell manufacturing capacity by 2025.

The gross profit margin for CATL’s EV batteries fell to 22 percent in 2021 from 26.56 percent the previous year.

The Ningde, Fujian, company remains far ahead of competitors in the China EV market. About 51 percent of the nickel-cobalt-manganese batteries and 49 percent of the lithium phosphate batteries installed in China’s EVs in the first three months were from CATL, according to China Automotive Battery Research Institute.

By comparison, rival BYD provides 1.6 percent of NCM batteries and 34 percent of LFP batteries, while LG Energy had its name on 6 percent of the NCM batteries installed, the institute said.