A federal judge in Newark has granted final approval to a $160 million settlement on behalf of out-of-network ambulatory surgical centers which claimed the insurance company’s policies did not provide adequate reimbursement for services rendered.

U.S. District Judge Kevin McNulty approved the settlement terms and granted $9 million in legal fees on Friday, ending a 12-year litigation saga over claims that New Jersey’s largest health insurer shortchanged ambulatory surgical centers outside its provider network.