A leaking gas well that spewed tons of methane into the air and forced thousands of Los Angeles residents from their homes has been permanently sealed, state officials said Thursday.

The announcement confirmed earlier reports by the Southern California Gas Company (SoCalGas) that the well at its facility in Porter Ranch had been plugged.

The news put an end to a four-month-long drama that saw thousands of Porter Ranch residents sickened by the fumes and forced to relocate to other areas of Los Angeles.

LA Methane Leak Spews 1,200 Tons of Gas Daily

“We have good news,” Jason Marshall, deputy head of the California Department of Conservation, told a news conference.

“We have confirmed that the leak of gas has been capped. We have the gas emissions under control.”

He said the damaged well was sealed with concrete, putting it permanently out of service.

The leak, first detected on October 23 at the gas company’s Aliso Canyon facility, has been described as an environmental disaster.

Methane, which is colorless and odorless, is a much more potent greenhouse gas than carbon dioxide.

Massive California Methane Leak Made Visible

But public health officials and the gas company — a division of Sempra Energy — have said the fumes posed no danger to Porter Ranch residents.

The gas company is facing a series of lawsuits, as well as criminal charges brought by the Los Angeles District Attorney’s Office, which alleges SoCalGas failed to immediately report the leak.

However, the company insists it broke no laws and its president, Dennis Arriola, said Thursday it was in the process of inspecting the other wells at Aliso Canyon.

“We recognize the disruption the gas leak has caused to local residents,” he told reporters. “We are committed to earning back their trust and confidence over time through our actions, not our words.”

Paula Cracium, president of the Porter Ranch Neighborhood Council, told AFP that while news about the leak being over was welcome it would take time for residents to feel at ease again in their homes.

Burning Natural Gas Can Be As Bad As Coal

“I think there is going to be a version of PTSD (Post-traumatic stress disorder) for a lot of families, Cracium said. “It’s like an earthquake. After you go through it, it messes with your life for a while and then you have a chance to get back to normal.”

She added that she and another member of the council would be heading to the state capital Sacramento on Monday to push for long-term legislation on well safety.