Qualcomm Inc. announced on Dec. 30 that it has signed a patent license deal with a Meizu Technology Co. Ltd. of China, a former opponent in the Chinese courts.

Terms of the deal follow those laid out by Qualcomm’s agreement with Chinese regulators in early 2015.

The deal resolves all of the patent disputes between Qualcomm and Meizu in China, Germany, France and the United States, Qualcomm (Nasdaq: QCOM) said in an announcement. In the middle of 2016, Qualcomm announced that it filed 17 patent infringement claims against Meizu in the Chinese court system, as well as a single action over license terms.

Qualcomm’s new deal with Meizu grants Meizu a worldwide, royalty-bearing patent license to develop, manufacture and sell devices based on third- and fourth-generation wireless technologies (which are known by the names CDMA2000, WCDMA and 4G LTE) as well as devices based on the uniquely Chinese three-mode technology combination of GSM, TD-SCDMA and LTE-TDD.

In a statement, Qualcomm said it and Meizu agreed “to take appropriate steps to terminate or withdraw the patent infringement litigations and respective invalidity proceedings or other related litigations.”

Meizu has its headquarters in Zhuhai. The city is near Macau, Hong Kong and the high-tech factories of Shenzhen.