China is cutting the tariffs it charges on imported cars, giving a potential boost to foreign automakers in the world's largest market.

The Chinese Finance Ministry said Tuesday that it will cut import duties on passenger vehicles from 25% to 15%, starting July 1.

The announcement, which fulfills an earlier pledge by Chinese President Xi Jinping, comes just days after China and the United States agreed to a ceasefire in their recent trade hostilities.

President Donald Trump singled China's import duties on cars for criticism last month, pointing out that they're far higher than the 2.5% the United States charges on imported cars. "Does that sound like free or fair trade?" Trump tweeted. "No, it sounds like STUPID TRADE - going on for years!"

Related: How American cars are really sold in China

The following day, Xi announced during a closely watched speech that China would "significantly lower" auto tariffs and carry out a series of other measures that he portrayed as "a new phase of opening up" for the world's second-largest economy.

Bill Russo, founder of Shanghai-based consultancy Automobility, called the lowering of car tariffs a "very significant move" that's likely to give foreign automakers a better chance of competing on cost with local manufacturers.

Germany's Porsche (POAHF) reacted quickly to China's announcement, saying on Tuesday it "welcomes the tariff reduction policy" and would consider lowering its prices for the Chinese market.

"Chinese customers will have [the] chance to enjoy an even [more] optimized price and pursue more personalized options when buying a car," it said in a written statement.

Others that stand to gain are high-end brands that ship expensive cars to China, such as BMW (BMWYY) and Mercedes-Benz (DMLRY), Russo said.

The gains for big US automakers like GM (GM) and Ford (F) are likely to be more limited. The lion's share of the cars they sell to Chinese consumers are already manufactured inside China.

The United States has been increasing its auto exports to China, though, despite the heavy duties. It sent $10.5 billion of cars -- new and used -- to China last year, up from $8.8 billion in 2016, according to the US Census Bureau.

The Chinese government also said Tuesday that it will reduce charges on imported auto parts to 6%, down from the current levels of between 8% and 25%.

Related: Global car makers unlikely to go it alone in China

As well as cutting tariffs, the Chinese government has also promised to remove restrictions on foreign carmakers that want to manufacture vehicles in the country.

Previously, companies such as GM and Volkswagen (VLKAF) had to establish joint ventures with local partners in which the Chinese companies have the controlling stake.

But last month, China said it will phase out those rules by 2022. It will start by lifting the restrictions on manufacturers of electric vehicles this year.

-- Steven Jiang and Alice McCool contributed to this report.