As it fights for the right to be part of Canada’s future 5G wireless network, Huawei Technologies often cites the fact it has invested hundreds of millions of dollars in this country.

But government statistics show the largesse has flowed the other way, too, underlining the close relationship the Chinese tech giant has forged with at least one province and Ottawa.

Canadian governments have provided millions in funding to Huawei and academic researchers collaborating with it, most of the grants designed to enhance the company’s 5G prowess, records indicate.

The support includes a $16-million handout from Ontario’s former Liberal government to Huawei in 2016, augmenting money the company said it would spend on enhancing 5G research in the province.