San Francisco (CNN Business) Huawei officially has a shot at helping the world's second-largest internet market build its 5G network.

India will not exclude the embattled Chinese company from the country's forthcoming 5G trials, a senior government official confirmed Monday.

"We have taken a decision to give 5G [bandwidth] for trial to all the players," Ravi Shankar Prasad, the country's minister for technology and communications, said at an event in New Delhi.

The green light from India will serve as a welcome reprieve for Huawei as it battles a US-led campaign against its business.

Washington has alleged that Beijing could use Huawei products to spy on other nations, with the US government urging global allies to block the Chinese firm's products from their 5G networks. Huawei, the world's largest telecommunications equipment maker and a leading smartphone brand, denies that its products pose a national security risk.