ALBANY, N.Y. (AP) — State lawmakers in New York have voted to block plans for a massive trash incinerator proposed for the Finger Lakes region.

By a unanimous vote, the state Senate passed legislation Wednesday that would prohibit the project from moving forward.

The Assembly passed the bill last week. Gov. Andrew Cuomo has already expressed objections to the project.

Environmental groups and local residents had opposed plans for the incinerator between Seneca and Cayuga lakes, citing concerns about the environment, agriculture and tourism.

The facility was to generate energy by burning thousands of tons of trash each day at the former Seneca Army Depot in the town of Romulus.

The company behind the project, Rochester-based Circular enerG, had argued that the incinerator would have created clean energy by burning trash that otherwise would be landfilled.