Apple and telecommunications company Ericsson have resolved their ongoing patent dispute with a deal which will see Apple pay a portion of its iPhone and iPad revenue to Ericsson.
Neither company has disclosed how much money Ericsson will make from the deal but the Swedish company is now bringing in money from both Apple and Samsung.
The dispute dates back to 2012 and concerns alleged patent infringement by Apple for using LTE technology, and older standards such as GSM and UMTS which are necessary for 2G, 3G, and 4G technologies, in its iPhone and iPad.
Apple filed a lawsuit in January of this year which claimed that Ericsson's patent fees were too high.
Ericsson then counter-sued, filing several different lawsuits in several countries against Apple in February for patent infringement.
Related: Apple TV 2015 review
The company even attempted to put a halt to iPhone sales in the US by getting the United States International Trade Commission involved.
Ericsson, which holds more than 35,000 patents, will drop the lawsuits now that a deal has been reached.
Both companies signed a global license agreement, putting an end to suits filed by Ericsson in the US, UK, Germany, and the Netherlands.
Related: iPhone 6S vs iPhone 6
Apple will make a lump sum payment to Ericsson for 2015 and will continue to pay royalties for the next seven years.
The two companies will continue to work together in the future, and will collaborate on 5G technologies, video networks traffic management, and network optimisation.