LONDON — The British government announced Saturday that it will no longer allow fracking because of new scientific analysis that casts doubts on the safety of the controversial practice, but some critics called the action an election stunt and demanded a permanent ban.

The government said the decision was based on a finding by the Oil and Gas Authority that it is not possible to clearly predict the likelihood or severity of earthquakes linked to fracking operations.

The decision to announce a moratorium on fracking means the government will no longer support its use of for shale gas extraction and planning proposals with fracking will not be moved forward.

Business and Energy Secretary Andrea Leadsom said the new scientific report makes clear that the government cannot rule out future “unacceptable impacts” on local communities where fracking is allowed.

“For this reason, I have concluded that we should put a moratorium on fracking in England with immediate effect,” she said.

The government’s new position was announced at the start of what is expected to be a hard-fought campaign ahead of a Dec. 12 national election. There have been considerable protests against fracking in recent years.

The announcement drew praise from local activists and environmental groups although some called for a permanent ban on the practice, not just a halt in the approval process.

Activist Maureen Mills from the Halsall Against Fracking group, said the decision was welcome because fracking had taken an “immeasurable” toll on her region of northwestern England.

“Our communities are left physically and mentally drained and devastated. For what? Years of anguish, research, protest, tears and fears,” she said. “Stopping this industry has always been our goal and our reasons are now being taken seriously.”

But politicians from the opposition Labour Party and the Liberal Democrats warned that the government’s reversal on fracking may be a temporary ploy to garner votes during the upcoming national vote.

Labour Party leader Jeremy Corbyn called the move “an election stunt” that would likely be reversed the day after the vote if Prime Minister Boris Johnson is still in power.

“We’re quite clear, we will end fracking. We think it’s unnecessary, we think it’s pollutive of ground water systems, and also all the evidence from Preston New Road in Lancashire is it’s actually dangerous and has caused serious earth tremors,” Corbyn said.

Rebecca Newsom, head of politics at Greenpeace, said fracking has no future in Britain because of widespread opposition.

“Opening up a new fossil fuel industry in this climate emergency was always an awful idea and it’s only seemed worse as the industry has lurched from mishap to disaster,” she said. “Grassroots activists across the country deserve huge credit.”