Julian Knight, Victoria’s worst mass murderer, will remain behind bars until he is dead or so ill he will pose no risk to others under a new law created just for him.

The Hoddle Street murderer, who was sentenced to life in prison with a 27-year non-parole period, is eligible for parole in May.

But the government has stepped in and unveiled a new law to be introduced into parliament on Tuesday, severely restricting the circumstances in which the Adult Parole Board can grant Knight parole.

Premier Denis Napthine says the law will apply solely to Knight, who has failed to show any remorse for murdering seven people and injuring 19 others during a shooting rampage in 1987.

‘‘This is guaranteeing that he remains in jail until he’s dead or so seriously incapacitated he’s no risk to other people in Victoria or indeed in the community,’’ Dr Napthine said.