A U.S. jury on Tuesday convicted Huawei of conspiracy to steal trade secrets and bank fraud. It acquitted the company of the most serious charge: engaging in a criminal racketeering conspiracy to steal intellectual property from American companies.

At trial, prosecutors argued Huawei had engaged in a years-long pattern of stealing technology from U.S. competitors. They alleged the company took source code from Cisco and robotic technology from T-Mobile.

Huawei was also accused of misleading banks about its business in sanctioned countries, including Iran. Its defense lawyers argued the U.S. government had built a false narrative based on isolated incidents of employee misconduct.