NAGS HEAD, N.C. (WAVY) — There’s a potential settlement in a massive power outage that affected many people in the Outer Banks.

Homeowners, businesses and tourists who filed lawsuits could share about $10 million. The plaintiffs would be settling with PCL Construction, the company that caused the 2017 outage.

Related: Mandatory evacuation for Hatteras, Ocracoke visitors

The outage lasted from July 27 to Aug. 3, forcing some 40,000 visitors off Hatteras and Ocracoke islands. It was later determined that workers hit two underwater transmission lines that supply power to the islands.

Two North Carolina law firms filed a class-action lawsuit against PCL last August — claiming people on the islands suffered damages including financial loss, stress and anxiety during the outage.

Related: Many affected by OBX power outage attempt to recoup losses

Several people involved in a lawsuit against PCL settled with the company last week. Per the settlement terms, PCL would pay $10.35 million into a settlement fund for residents, vacationers and businesses.

About $8 million of the settlement would go toward businesses, while the remaining $2.25 million would go to vacationers and residents.

The settlement is pending approval.