A U.S. jury convicted Chinese tech giant Huawei Technologies on Tuesday of conspiring to steal trade secrets and defrauding banks as it grew into one of the world’s biggest suppliers of gear for wireless telecommunications networks.

But jurors acquitted Huawei of the most serious charge: engaging in a criminal racketeering conspiracy, a result that the company’s lawyer said was a “profound rejection” of the government’s narrative that it was corrupt from top to bottom and had a corporate culture of cheating, stealing and lying.

Prosecutors had used the charge, commonly found in organized crime and drug cases, to accuse Huawei of operating illicitly to poach intellectual property and technological secrets from competitors and partners.

The convictions covered allegations that the company did business in countries subject to U.S. sanctions — including Iran and North Korea — and made false statements to U.S. government officials and banks as part of an effort to hide its misdeeds.