Amazon announced it is canceling plans to build a headquarters in New York City due to growing opposition.

The company planned to build the campus in Long Island City, Queens in exchange for nearly $3 billion in state and city tax breaks.

The decision to bring Amazon to New York did not come without controversy.

Some on New York City’s City Council have pushed back against the project and have even threatened to block it. Last week, a leading critic of the project was nominated to serve on a state board with the power to reject the project.

Amazon says it is disappointed to have the conclusion to not come to New York.

“We love New York, its incomparable dynamism, people, and culture, and particularly the community of Long Island City, where we have gotten to know so many optimistic, forward-leaning community leader, small business owners, and residents… For Amazon, the commitment to build a new headquarters requires positive, collaborative relationships with state and local elected officials who will be supportive over the long-term.”

In a statement, Amazon says it is not intending to find another location for its second headquarters. It plans to proceed with its plans in Northern Virginia and Nashville.

Currently, the company says there are more than 5,000 Amazon employees in Brooklyn, Manhattan, and Staten Island.

New York Governor Andrew Cuomo issued this statement:

“Amazon chose to come to New York because we are the capital of the world and the best place to do business. We competed in and won the most hotly contested national economic development competition in the United States, resulting in at least 25,000-40,000 good paying jobs for our state and nearly $30 billion dollars in new revenue to fund transit improvements, new housing, schools and countless other quality of life improvements.Bringing Amazon to New York diversified our economy away from real estate and Wall Street, further cementing our status as an emerging center for tech and was an extraordinary economic win not just for Queens and New York City, but for the entire region, from Long Island to Albany’s nanotech center.

However, a small group politicians put their own narrow political interests above their community — which poll after poll showed overwhelmingly supported bringing Amazon to Long Island City — the state’s economic future and the best interests of the people of this state.The New York State Senate has done tremendous damage. They should be held accountable for this lost economic opportunity.

The fundamentals of New York’s business climate and community that attracted amazon to be here – our talent pool, world-class education system, commitment to diversity and progressivism -remain and we won’t be deterred as we continue to attract world class business to communities across New York State.”