Canada has enabled measures to revoke citizenship from dual nationals convicted of terrorism, treason or spying for foreign governments.

The government said Friday that Canadian citizenship can now also be revoked from dual citizens for taking up arms against Canada and its military. This can be either as a member of a foreign army or in non-state terrorist groups.

Prime Minister Stephen Harper has been ramping up anti-terrorism measures ahead of a federal election in October. The Conservative leader introduced a reformed Anti-terrorism Act in January that will significantly change the national security measure if passed.

Australia said earlier this week that it plans to pass legislation to enable the government to strip citizenship from dual nationals who are suspected terrorists even if they're not convicted of a crime.