Mercedes-Benz successfully defended its crown as the world’s bestselling luxury-car brand, beating rivals BMW and Audi for the fourth year in a row. The win emerged on Friday when BMW reported sales of its namesake branded vehicles rose 2% to a record 2.17 million cars last year. 

Demand for upscale vehicles has proved to be more resilient than the mass market segment, which has seen sales crimped in some regions by slower economic growth and fallout from trade disputes.

Mercedes said it posted sales records in Germany, China, and the U.S. thanks to strong demand for its SUVs and high-end sedans. BMW said it will double sales of its luxury-class cars between 2018 and 2020, buoyed by the introduction of its X7 SUV last year. The brand said demand rose 6.2 percent in China, where local customers ordered the top-end Maybach Mercedes S-class limousine at a rate of more than 700 vehicles a month.

While deliveries of expensive models in China — the world’s largest auto market — have held up, the outlook could darken for the German luxury automakers due to their exposure to potentially higher auto tariffs between the U.S., China, and Europe.

Looking ahead, BMW said it’s targeting a slight increase in group sales this year along with “solid sales growth” in China. In Europe, sales are expected to be on par with 2019 due to a “deterioration in the economic environment” and rise slightly in the U.S. The company already gave an indication of its sales and outlook earlier this week.

“Thanks to our large model offensive, we once again succeeded in increasing our sales to a new high in 2019,” BMW’s sales head Pieter Nota said in the statement. “I am confident that we will continue on our successful course in the current year.”

Audi’s new sales chief Hildegard Wortmann said Tuesday a relatively new product lineup should help the brand sustain positive sales momentum and win back ground lost to Mercedes-Benz and BMW in recent years. After a dismal first half of the year, deliveries bounced back toward the end of 2019. Global Audi sales rose 1.8% to 1.85 million cars.

BMW shares rose 0.1% to 74.41 euros at 10:01 a.m. in Frankfurt while Daimler fell 0.5% to 49.46 euros.