The French parliament voted on June 30 to ban the controversial technique for extracting natural gas from shale rock deposits known as hydraulic fracturing, or fracking, the web sites of Le Monde and other French media reported.

The bill had already passed the National Assembly, the country's lower chamber, on June 21, and on June 30 a Senate vote of 176 to 151 made France the first country to enact such a ban, just as New York State is preparing to lift a moratorium on the same method.

The vote was divided along party lines, with the majority conservative party voting in favor and the opposition voting against the bill, according to Le Monde. The Socialist Party, in particular, opposed the bill because it did not go far enough. The bill's critics said that it left open possible loopholes and that in particular it does not prevent the exploitation of oil shale deposits by techniques other than fracking. An earlier version of the bill, which the Socialists had supported, would have banned any kind of development of the deposits, Le Monde reported.

Companies that currently own permits for drilling in oil shale deposits on French land will have two months to notify the state what extraction technique they use. If they declare to be using fracking, or if they fail to respond, their permits will be automatically revoked.

Fracking requires the injection of vast quantities of water and potentially hazardous chemicals into the ground to force the release of natural gas. The U.S. government is investigating the environmental impact of the technique, which critics say produces toxic waste and pollutes water wells.