More than a year of work to bring Amazon.com Inc.'s headquarters and tens of thousands of jobs to New York City ended on Thursday with a couple of phone calls.

Jay Carney, the company's top policy executive, told New York Gov. Andrew Cuomo that the world's biggest online retailer would not go ahead with plans to invest $2.5 billion (about ¥276 billion) to build a second head office in the borough of Queens.

Carney, a former press secretary for President Barack Obama, told New York City Mayor Bill de Blasio the same shortly after.