TAIPEI/SAN FRANCISCO (Reuters) - Mobile chipmaker Qualcomm Inc QCOM.O will settle an anti-trust case with Taiwanese regulators for about $93 million, and has also pledged to invest $700 million in Taiwan over the next five years.

The settlement replaces a fine of roughly $778 million imposed by Taiwan’s Fair Trade Commission in 2017, when it accused the U.S. firm of refusing to sell chips to mobile handset makers that wouldn’t agree to its patent-licensing terms.

It was also accused of cutting iPhone maker Apple Inc AAPL.O a royalty discount in exchange for the exclusive use of Qualcomm's modem chips in the past.

Under the settlement, Qualcomm will have to provide reports every six months to Taiwanese officials for five years to show it is negotiating in good faith with handset makers in patent-licensing deals.

Moreover, Qualcomm will be required to offer patent licenses to rival chipmakers such as Intel Corp INTC.O and MediaTek Inc 2454.TW on fair terms before seeking to enforce its patent rights against them in court. Qualcomm also is in the midst of appealing a $927 million fine from the Korea Fair Trade Commission and a $1.2 billion fine from the European Commission. It also faces a lawsuit from the U.S. Federal Trade Commission and is in a wide-ranging legal dispute with Apple.

As part of the Taiwanese settlement, Qualcomm will continue to be allowed to charge a royalty based on the selling price of a handset - a core part of its licensing model that Apple and others have objected to.

Because the settlement replaces the original decision and fine, other anti-trust regulators and legal foes will now be less likely to be able to use the commission’s findings as a basis for their own legal actions.

Mediatek said the Commission’s decision failed to protect a fair competitive environment as Qualcomm was not required to adjust its business model of charging a royalty fee.

“It will have negative impact on Taiwan’s 5G industry and therefore hurt Taiwan’s global competitiveness,” the company said in a statement on Friday.

As part of the deal Qualcomm said it had agreed to build new manufacturing and operations facilities in Taiwan and work with Taiwan universities and start-ups on technology initiatives around so-called 5G technology, the next generation of wireless networks.

Taiwan’s Fair Trade Commission said that amounted to an investment pledge of $700 million over five years.

“With the uncertainty removed, we can now focus on expanding our relationships that support the Taiwanese wireless industry and rapid adoption of 5G technology,” Alex Rogers, Qualcomm’s patent licensing chief, said in a statement.