Updated

Court records accuse a former Canadian soldier of planning to attack Calgary's Veterans Affairs office over a dispute over the coverage of costs for his health issues.

The 45-year-old former military intelligence officer pleaded guilty to weapons charges in a Calgary court this week. His name was not released due to a publication ban.

Court documents say he was in the military from 2008 until he went on disability in 2011. He had a dispute with Veterans Affairs over covering treatment costs for ailments including multiple sclerosis, which he blamed on a flu vaccine he received while in the military.

When officers arrested him in January, they found firearms, body armor, possible bomb-making materials, schematics of the skyscraper that houses Veterans Affairs and a plan to attack the seventh-floor offices.