With his girlfriend bleeding from the gash he carved into her throat and bearing bullet wounds from a failed attempt at "suicide by police", a Melbourne man barricaded his home and began reheating Chinese food.
Police forced their way into Sammy Portelli's home and found him unconscious in his kitchen with three knives stashed down his pants, and his partner near death on the floor.
The woman was raced to hospital having lost two litres of blood.
Portelli, 47, was on a cocktail of ice and anti-depression pills when he slashed his girlfriend's throat with a razor blade in their St Albans apartment last November.
When she continued to fight, he tried to smother her with a pillow then hacked at her throat with a knife.
The attack only stopped when, resigned to death, the woman asked Portelli to cuddle her because she didn't want to die alone.
"She had resigned herself to the fact she was going to die," prosecutor Susan Borg told the Victorian Supreme Court on Thursday.
Portelli then began cutting himself and passed out on the floor beside the woman.
Portelli's plea hearing was told that when he awoke he handed his partner a phone and asked her to call the police.
But when they arrived, he rushed at them with knives and was shot in the bicep and chest before retreating back into the apartment.
Portelli's barrister Michael Stanton said his client was trying to force the police to shoot him.
"It's plain he's trying to inflict harm upon himself or have the police inflict harm on him," he told the court.
When police arrested him a short time later, he began sobbing and told them he wanted to die.
Portelli has pleaded guilty to one count of intentionally causing serious injury and three counts of assaulting police.
"Attempting suicide by police officer is probably one of the worst things a police officer has to encounter," Ms Borg said.
"They should never be in the circumstance where they're expected to be the executioner."
Mr Stanton said Portelli was remorseful for his inexplicable actions.
He said Portelli had proved he could live a constructive life when not abusing drugs.
Justice John Dixon will sentence Portelli at a date to be fixed.
* Readers seeking support and information about suicide prevention can contact Lifeline on 13 11 14 or Suicide Call Back Service 1300 659 467.