Actress Kim Basinger has signed off on an agreement to pay her creditors, which include Main Line Pictures. By doing so, she puts an end to a 4-year-old legal battle with the company that contended it contracted with her to play the lead in the indie film “Boxing Helena.”

Though a bankruptcy judge last month proposed that Basinger pay $3.8 million to Main Line to resolve the dispute over her refusal to perform in “Boxing Helena,” the settlement had to be approved by both parties.

Sources close to the case said the final figure is slightly less, but Basinger’s reps and bankruptcy attorney declined comment beyond a tersely worded press release.

Basinger and “Boxing Helena” producer Main Line were scheduled to retry their case last week, after an appeals court overturned a 1993 judgment of $8.1 million against the actress.

A Basinger rep was unable to explain how the settlement, in which she likely will pay millions of dollars to Main Line and other creditors, “exonerates” the actress.