section 52(1)


52. (1) Every one who does a prohibited act for a purpose prejudicial to (a) the safety, security or defence of Canada, or (b) the safety or security of the naval, army or air forces of any state other than Canada that are lawfully present in Canada, is guilty of an indictable offence and liable to imprisonment for a term not exceeding ten years.