OTTAWA - A Muslim convert who stormed Canada’s parliament last October before being shot dead said he carried out the attack in retaliation for the West’s military deployment in Afghanistan and Iraq, according to a video released on Friday.

Michael Zehal-Bibeau, who killed a ceremonial guard at Ottawa’s war memorial before bursting into parliament, made the video message on a phone found in his abandoned car. ‘This is in retaliation for Afghanistan and because (Prime Minister Stephen) Harper wants to send his troops to Iraq,’ Zehaf-Bibeau says in the grainy video released by police.

‘Canada’s officially become one of our enemies by fighting and bombing us and creating a lot of terror in our countries and killing us and killing our innocents,’ added the 32-year-old. ‘We’ll not cease until you guys decide to be a peaceful country and stay to your own and stop going to other countries and stop occupying and killing the righteous of us who are trying to bring back religious law in our countries.’

Zehaf-Bibeau, a petty criminal who later converted to Islam, was shot dead by the Canadian parliament’s Sergeant at Arms. Royal Canadian Mounted Police Commissioner Bob Paulson told a parliamentary committee the federal police edited out 18 seconds of the video before releasing it - 13 at beginning and five at the end - but did not explain what had been cut. The committee is examining a proposed new anti-terror law written in response to Zehaf-Bibeau’s attack and another on a Canadian soldier in rural Quebec the same week, and provides sweeping new powers to Canada’s spy agency. Canada ended its 10-year military mission in Afghanistan last year. In November its war planes joined US-led airstrikes on Islamic State jihadists in Iraq. ‘So we are retaliating, the Mujahedin of this world ... just aiming to hit some soldiers just to show that you’re not even safe in your own land, and you gotta be careful,’ he said. Zehaf-Bibeau, 32, struck three weeks after Canada decided to deploy forces in Iraq as part of a campaign against Islamic State militants. Two days earlier, another convert to Islam had run down and killed a soldier in Quebec with his car.

Canada maintained a military mission in Afghanistan for the 10 years up to 2011. Harper cited the attacks and the threat of ‘jihadist terrorism’ as the reason for a tough new draft security law the right-leaning Conservative government unveiled on Jan. 30. Critics say the law - which would give Canada’s spies greater powers to disrupt attacks - is too sweeping. Royal Canadian Mounted Police Commissioner Bob Paulson did not say if the police probe into the attacks had determined whether Zehaf-Bibeau was acting alone.

‘Anyone who aided him, abetted him, counseled him, facilitated his crimes or conspired with him is also in our view a terrorist,’ he told the committee. Paulson said 13 seconds had been edited from the start of the video and five seconds from the end. He declined to explain why, citing operational reasons. ‘We’ll not cease until you guys decide to be a peaceful country ... and stop going to other countries and stop occupying and killing the righteous of us who are trying to bring back religious law in our countries,’ Zehaf-Bibeau said in the video. Paulson made his remarks in the same parliamentary room where Conservative legislators were meeting when the attack took place on Oct 22.