Australia is to build its first prison aimed at isolating militants and stopping the spread of radical beliefs through the prison system as part of efforts to eliminate terrorism, the premier of New South Wales state said Sunday.

The unit will be within a maximum-security prison and have capacity for 54 inmates, who will be isolated and intensely monitored, state Premier Gladys Berejiklian said.

"We'll be giving $47 million over the next three years to have the extra capacity to isolate those prisoners who are likely to try a spread radicalization through the prison network," Berejiklian told reporters.