Oregon and Oracle agreed to bury the hatchet in a long-running lawsuit over the state’s failed Obamacare healthcare exchange, Oregon’s Justice Department said on Thursday.

The agreement calls for Oracle orcl to pay the state $100 million including $60 million to cover customer support, a $10 million grant for school science, technology, and math programs, and $25 million to reimburse Oregon for litigation costs.

Also included is a six-year unlimited license for Oregon’s government to use Oracle products and services, according to the Oregon statement.

In 2014, Oregon sued Oracle, charging that the software giant failed to deliver the state’s “Obamacare” healthcare exchange Web site as promised. The state claimed that the company sold it “hundreds of millions of dollars of Oracle products and services that failed to perform as promised.” The state had originally sought $6 billion from Oracle.

Get Data Sheet, Fortune’s technology newsletter.

Early this year, Oracle countersued, alleging that Oregon did not comply with a settlement that would have ended the legal wrangling.

In a statement, Oracle executive vice president and general counsel Dorian Daley said the company was pleased to get the “contentious litigation behind us” and that the company would work to help Oregon get the software and technical support it needs.