BROOKLYN, N.Y. — The City Planning Commission has shot down a controversial plan to put up two residential buildings near the Brooklyn Botanic Garden.

The panel on Wednesday unanimously voted down the rezoning application for 960 Franklin Avenue.

Developers were planning to build two towers that were each 34 stories tall.

But the Botanic Garden and local residents fought back, saying the towers would block up to four hours of sunlight that falls on the garden each day.

The commission's ruling is binding, meaning it ends the rezoning application process.