NCR Corp. announced Tuesday it is moving its corporate headquarters to Midtown, ending months of speculation that it was leaving Gwinnett County for more fertile ground near Georgia Tech.

The new campus will be on Spring Street at Centergy North at Technology Square, which had rumored to be the lure for the company because of its tech savvy-population. The move would happen sometime late in 2017 or early in 2018.

NCR, which relocated to metro Atlanta from its Ohio birthplace in 2009, said it also would construct a second campus in the northern suburbs, but it did not specify where.

“Creating a state-of-the-art campus in midtown Atlanta near Georgia Tech marks an important step in NCR’s reinvention as an exciting and important, global technology company, NCR Chairman and CEO Bill Nuti said in a press release Tuesday.

“You can count on your hand the number of successful technology company reinventions that have been executed over the last hundred years – and NCR is amongst them,” he said. “NCR runs global commerce and we make the everyday easier as consumers connect, interact and transact with business. We are extremely proud of the important innovations we create and the valuable work done on behalf of our customers around the world right here in metro Atlanta.”

The planned move is a blow to Gwinnett and a jolt for Atlanta, which has seen a flurry of technology companies pick in-town locations for the past few years.

Gwinnett County Commission Chairman Charlotte Nash said, “Businesses make location decisions on factors important to them. Any time such a decision is made, we try to understand the reasons for the decision and what we can learn to apply to the next retention or recruitment.

“We would obviously like to have NCR continue to be a member of our Gwinnett business community and have made that very clear to the company,” Nash said.

The Atlanta Journal-Constitution first reported in March that NCR was involved in secret discussions to build a major corporate complex near Georgia Tech in a bid to tap a direct line to the highly skilled engineering and programming talent that graduate each year.

And in April, the AJC reported that NCR had weighed whether it would ask Georgia Tech’s foundation for as much as $30 million to buy land for a new corporate campus to house as many as 4,000 employees.

NCR said Tuesday the move would help the company consolidate offices throughout the metro area, provide better access to Hartsfield-Jackson International Airport and make it easier for the company’s customers to visit.

Staff writer Arielle Kass contributed to this report