For years, residents of the small fishing town of Saint-Louis in Senegal have been struggling. Climate change, foreign industrial trawlers and the COVID-19 pandemic have made it hard to earn a living on the water.

When officials announced a new gas project off the coast in 2015, the community was hopeful it would bring new opportunities. Instead, many locals say, the gas has only brought a wave of problems and pushed people to desperation. That includes forcing some women to turn to prostitution to support their families, they told The Associated Press in interviews.

The deal — planned by a partnership among global gas and oil giants BP and Kosmos Energy and Senegal and Mauritania’s state-owned oil companies — is expected to produce around 2.3 million tons (2.08 million metric tons) of liquified natural gas a year, enough to support production for more than 20 years, according to the gas companies.

The government and the companies say they’re engaging with the fishing communities in Senegal and Mauritania and trying to benefit the wider economy by locally sourcing products, developing the workforce and supporting sustainable development.

But locals say so far they haven’t seen the benefits.

Saint-Louis is Senegal’s historic center for fishing, with 90% of the town’s 250,000 people relying on fishing for income.

But the town has faced many troubles over the past decade. Sea erosion from climate change washed away homes, forcing moves. Thousands of foreign industrial trawlers, many of them illegal, snapped up vast amounts of fish and local men in small wooden boats couldn’t compete. The COVID-19 pandemic shut down market sales of the tiny hauls they could manage.

The rig was the final straw for Saint-Louis, pushing it to the brink of economic disaster, according to locals, officials and advocates.

Traditionally, many women make a living processing fish, while the men catch it; sons, husbands and fathers spend weeks at sea. But with the restrictions, families couldn’t feed their children or pay rent.

BP and Kosmos energy say they’re working with the fishing communities in Senegal and Mauritania.

More than 3,000 jobs in some 350 local companies have been generated in Senegal and Mauritania, according to BP. The company also cited its work to renovate the maternity unit at the Saint-Louis hospital and its help of 1,000 patients with a mobile clinic operating in remote areas.

In a statement to the AP, Kosmos spokesman Thomas Golembeski said the project will provide a source of low-cost natural gas and expand access to reliable, affordable and cleaner energy. He also cited access to a micro-finance credit fund established for the fishing community.