New York Mayor Bill de Blasio is at odds with rising Democratic star Alexandria Ocasio-Cortez over the fallout from Amazon’s decision to pull out of building a planned office complex in Queens.

The mayor said that the congresswoman is wrong about the $3billion in tax incentives that the city and state would have granted Amazon if the retailer built a new headquarters in Long Island City.

In exchange for the tax breaks, Amazon promised the city and state that it would deliver 25,000 jobs and more than $27billion in revenue.

Ocasio-Cortez and others believe that instead of granting tax breaks to Amazon, a company valued at nearly $800billion, government should use the money for public works.

Mayor Bill de Blasio (left) said Congresswoman Alexandria Ocasio-Cortez (right) made a mistake in opposing Amazon's planned campus in Queens

‘If we were willing to give away $3 billion for this deal, we could invest those $3 billion in our district ourselves, if we wanted to,’ Ocasio-Cortez said on Thursday when asked about Amazon’s decision to cancel the deal.

‘We could hire out more teachers. We can fix our subways. We can put a lot of people to work for that money, if we wanted to.’

But de Blasio disputed Ocasio-Cortez’s argument, though he did not mention her by name.

The mayor told NBC’s Meet the Press that the $3billion in tax incentives would have been given to Amazon after it had already generated revenue for the city and state.

He told moderator Chuck Todd that Ocasio-Cortez’s premise that the $3billion exists is wrong.

‘There’s no money,’ de Blasio said.

‘And that $3billion that would go back in tax incentives was only after were getting the jobs and getting the revenue.’

Amazon on Thursday hit-out at Ocasio-Cortez and her Democratic peers for creating an unjust hostile 'environment' that led to the withdrawal of their New York headquarters plan

Amazon on Thursday hit-out at Ocasio-Cortez and her Democratic peers for creating an unjust hostile 'environment' that led to the withdrawal of their New York headquarters plan.

Speaking out about the withdrawal on Friday, Amazon's head of policy communications, Jodi Seth, pointed blame at Ocasio-Cortez and her anti-Amazon rhetoric.

Ocasio-Cortez has been criticized by conservatives who say she doesn’t have a firm grasp of how economics works.

'If you talk to Alexandria Ocasio-Cortez, it's "Never Amazon",' Seth said.

Ocasio-Cortez had long been a strong opponent to the plans, citing rent hikes and local displacement - as seen around the tech firm's headquarters in Seattle - as grounds for why the city should reject the proposal.

The 29-year-old responded to Amazon's shocking announcement on Thursday with glee, tweeting: 'Anything is possible: today was the day a group of dedicated, everyday New Yorkers & their neighbors defeated Amazon’s corporate greed, its worker exploitation, and the power of the richest man in the world.'

She opposed the move for its massive tax incentives, previously tweeting such money could be used towards improving the city's crumbling subway system and investing in local communities.

The Democratic congresswoman, who shocked the world last year by beating incumbent Joe Crowley in the race for New York’s 14th District, holds a degree in economics and international relations from Boston University.

Amazon said on Thursday it was canceling its plans to build a corporate campus in New York's Long Island City after rising opposition from local politicians

During his appearance on Meet the Press, de Blasio blamed Amazon for ‘walking away’ from an agreement with the city and state.

In an op-ed in the New York Times on Saturday, de Blasio hit out at Amazon for backing down and said the decision to 'take its ball and go home' won't diminish rising anger over economic inequality.

Amazon officials joined de Blasio and Democratic Governor Andrew Cuomo in November to announce plans to build a $2.5billion headquarters in Queens.

The decision to cancel plans was a serious blow to de Blasio and Cuomo, who had both lobbied intensely to land the campus within city limits.

The Democratic Mayor said he first found out about Amazon's decision to ditch New York when he received a brief phone call about an hour before the news broke on Thursday.

He said he had been helping Amazon just days earlier about how they could win over those who were critical of the plan.

The Mayor said he suggested meeting with organized labor, hiring public housing residents and investing in infrastructure.

'There was a clear path forward. Put simply: If you don't like a small but vocal group of New Yorkers questioning your company's intentions or integrity, prove them wrong,' he said.

'Instead, Amazon proved them right.'

De Blasio described the initial deal as a 'solid foundation' that would have created 25,000 jobs and $27 billion in new tax revenue to 'fuel priorities from transit to affordable housing'.

Mayor de Blasio blamed the opposition to Amazon in New York on growing frustration with corporate America and Amazon's chief executive Jeff Bezos

He blamed the opposition to Amazon in New York on growing frustration with corporate America.

'For decades, wealth and power have concentrated at the very top. There's no greater example of this than Amazon's chief executive, Jeff Bezos - the richest man in the world,' he said.

'Amazon's capricious decision to take its ball and go home, in the face of protest, won't diminish that anger.

'We just witnessed another example of what the concentration of power in the hands of huge corporations leaves in its wake. Let's change the rules before the next corporation tries to divide and conquer.'

The Mayor furiously responded to the news on Thursday by criticizing Amazon in a series of tweets, saying the company 'threw away' an opportunity and failed to work with the community.

'You have to be tough to make it in New York City. We gave Amazon the opportunity to be a good neighbor and do business in the greatest city in the world. Instead of working with the community, Amazon threw away that opportunity,' de Blasio said.

'We have the best talent in the world and every day we are growing a stronger and fairer economy for everyone. If Amazon can't recognize what that's worth, its competitors will.'

Amazon's search for a second headquarters, which it described as HQ2, was deemed a massive, year-long public relations success, garnering worldwide publicity and interest from cities across the U.S.

The Seattle-based company, founded by billionaire Jeff Bezos, had planned to bring 25,000 jobs to New York and spend $2.5 billion building its offices.

'We are disappointed to have reached this conclusion - we love New York,' Amazon said in a statement on Thursday.

'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.

'While polls show that 70 percent of New Yorkers support our plans and investment, a number of state and local politicians have made it clear that they oppose our presence and will not work with us to build the type of relationships that are required to go forward with the project we and many others envisioned in Long Island City.'