CANBERRA, Australia -- The Australian government introduced legislation to Parliament on Thursday that would give authorities more power to keep extremists behind bars after they have served prison sentences if they are still considered dangerous.
The move is a response to a 2017 siege in which a gunman who once trained with Muslim extremists, Yacqub Khayre, killed a Melbourne apartment building receptionist and wounded three police officers months after being released early from prison.
The bill has been introduced as the government is accused of trampling human rights and press freedom by ratcheting up it national security laws in response to the evolving threat posed by Muslim extremists such as the Islamic State group.
The federal and state governments agreed in late 2015 to create nationally consistent so-called continuing detention orders to keep convicted terrorists in custody after they have served their sentences.
Attorney General Christian Porter said the proposed new law would close a loophole that prevented some extremists from being kept in custody. The law would create a presumption against parole for convicted terrorists and terrorist supporters.
Khayre, a Somali-born refugee, took a woman hostage during a two-hour siege that ended with him being killed by police. The hostage escaped harm.
His convictions were for violent crimes unrelated to extremism. But under the proposed law, a judge deciding whether to parole him could have considered Khayre's acquittal in 2010 on charges that he plotted a suicide attack on a Sydney army base and evidence that established during his trial that he had trained with extremists in Somalia.
Porter told Parliament the laws would apply to those inmates serving time for other offenses, but who have "clearly demonstrated terrorist sympathies."
"The community was rightly outraged by Yacqub Khayre's case and I believe the changes we are introducing today strike the right balance between protecting individual rights and freedoms, and protecting the community," Porter said.
Parliament also extended the emergency powers of the Australian Security Intelligence Organization, the nation's main spy agency, to secretly detain and interrogate extremists, despite opposition from lawyers and some lawmakers.
Those powers were introduced as a temporary measure after the al-Qaida attacks on the United States on Sept. 11, 2001. But successive governments have now extended their expiration deadline four times.
The emergency powers were to expire on Sept. 7, but Parliament on Thursday passed a bill that created a 12-month extension.
The government rejected an opposition proposal to limit the extension to three months. Rex Patrick, a senator from the Center Alliance minor party, said Thursday's extension was the last that he would support.
Bret Walker, a lawyer who had been commissioned to recommended changes to the measures in 2012, urged the Parliament to reject a further extension.
"If national security is to be a mantra that commands some kind of falling in with government proposals, then the very least we can ask in return is a demonstration that government itself has been dealing urgently and profoundly with these problems," Walker said.
The Law Council of Australia, the nation's leading advocacy for lawyers, said it had grave concerns the powers had been extended without clear justification.
"These are some of the most far-reaching and extraordinary powers granted to any intelligence organization in a western democracy and should be repealed," council president Arthur Moses said.
Australian media organizations have demanded national security law reforms so that journalists don't risk prison sentences for doing their jobs after police raided ABC's Sydney headquarters and the Canberra home of a News Corp. reporter in June in search of leaked government documents.