A Chinese court has ordered a ban in the country on most iPhone sales  because of a patent dispute between iPhone maker Apple and U.S. chipmaker Qualcomm.

The Fuzhou Intermediate People’s Court granted Qualcomm’s request for preliminary injunctions against four subsidiaries of Apple, ordering them to immediately stop selling the iPhone 6S through the iPhone X that use older versions of Apple’s iOS operating system, according to a statement from Qualcomm Monday.

Apple said in a statement Monday its iPhones using newer operating systems remain on sale in China.

The Chinese court found Apple violated two of Qualcomm’s software patents involving resizing photographs and managing applications on a touch screen.

Apple shares fell Monday on the news.

“Qualcomm’s effort to ban our products is another desperate move by a company whose illegal practices are under investigation by regulators around the world,” Apple said in its statement.

Qualcomm’s general counsel, Don Rosenberg, said in a statement Monday “Apple continues to benefit from our intellectual property while refusing to compensate us. These court orders are further confirmation of the strength of Qualcomm’s vast patent portfolio.”

China’s court decision is the latest legal action in a long-running dispute between the California tech giants.

Qualcomm has also asked regulators in the United States to ban several iPhone models over patent disputes, however U.S. officials have so far declined to do so.

leave a reply