Packaged software giant Microsoft has announced it has settled a patent duel with cloud computing firm Salesforce.com.
Each had filed suit in US court accusing the other of violating its patented technology.
Under the terms of the deal, both firms will get rights to use the other's technology and Microsoft will get paid compensation, although it declined to specify the amount.
"We are pleased to reach this agreement with Salesforce.com to put an end to the litigation between our two companies," said Microsoft corporate vice president Horacio Gutierrez.
"Today's agreement is an example of how companies can compete vigorously in the marketplace while respecting each other's intellectual property rights."
The legal spat came as Microsoft strives to adapt to a trend toward programs being offered as services in the Internet "cloud" instead of being purchased and then installed and maintained on people's computers.
Microsoft built its fortune selling software such as Office, Outlook, and Windows while San Francisco-based Salesforce has become a prospering poster child for a new era of cloud computing.
Microsoft has introduced an Azure cloud computing platform for its "live services" offered on the Internet.
Salesforce in June filed a patent-infringement lawsuit against Microsoft in apparent retaliation for similar litigation that the US technology colossus filed against Salesforce in May.
Explore further: Strong iPhone 6 demand boosts Taiwan export orders