Amazon to add headquarters in New York City and Northern Virginia

Amazon has confirmed that it will split its much-anticipated second headquarters between New York City and Arlington, Virginia.

Its New York location will be in the Long Island City neighborhood of Queens, while its Arlington offices will be located in an area called National Landing. Each site will get 25,000 jobs.

In addition, the online retailer said it will open an operations hub in Nashville, creating 5,000 jobs.

The decision ends an intense competition between North American cities to win Amazon and its promise of 50,000 new jobs. Some locations tried to stand out with stunts, but Amazon made clear that it really wanted incentives, like tax breaks and grants. The company received 238 proposals before narrowing the list to 20 in January.