The 61-year-old man, identified only as Manfred K., had worked for the transatlantic military alliance at the US airbase of Ramstein in Germany but left his job after a dispute.
"The disclosure of the files would allow a potential enemy of NATO to gain access to the secret network of NATO," the court found.
Also Read
The man copied passwords for NATO computer systems, server locations and other information that would have enabled a cyber attack, the court in the western city of Koblenz found.
The IT expert, who had worked for NATO for more than 30 years, copied the data in March 2012 and failed in an attempt to obtain more in June but left NATO shortly afterward.
He was been in detention since his arrest in August 2012.
The data were the "crown jewels" and "operative heart" of the system and would have allowed a foreign power to launch a cyber attack with "devastating impact", said presiding judge Andreas Voelpel, according to national news agency DPA.
Potential takers for the data would have been the Chinese or Russian intelligence services, the court found.
The defendant had earlier denied the charge, saying: "I was never a traitor. I am not and never was an enemy of NATO, only of the security sloppiness of employees."
The sentence for treasonable espionage was only slightly milder than the seven and a half years that prosecutors had sought.
Defence lawyers said they may appeal.
You’ve reached your limit of {{free_limit}} free articles this month.
Subscribe now for unlimited access.
Already subscribed? Log in
Subscribe to read the full story →
Smart Quarterly
₹900
3 Months
₹300/Month
Smart Essential
₹2,700
1 Year
₹225/Month
Super Saver
₹3,900
2 Years
₹162/Month
Renews automatically, cancel anytime
Here’s what’s included in our digital subscription plans
Exclusive premium stories online
Over 30 premium stories daily, handpicked by our editors


Complimentary Access to The New York Times
News, Games, Cooking, Audio, Wirecutter & The Athletic
Business Standard Epaper
Digital replica of our daily newspaper — with options to read, save, and share


Curated Newsletters
Insights on markets, finance, politics, tech, and more delivered to your inbox
Market Analysis & Investment Insights
In-depth market analysis & insights with access to The Smart Investor


Archives
Repository of articles and publications dating back to 1997
Ad-free Reading
Uninterrupted reading experience with no advertisements


Seamless Access Across All Devices
Access Business Standard across devices — mobile, tablet, or PC, via web or app
