A man is behind bars over the near-fatal "cowardly" stabbing of an innocent bystander in Melbourne.
Dwayne Michael Byron will serve at least nine years for attempting to murder New Zealand man Stein Locke during the random attack at a St Gilda pier in February 2015.
Locke, then 24, was sitting with a friend at the jetty when he glanced over at Byron, who seemed to be arguing with a woman.
Byron yelled to Locke: "What the f*** are you looking at?" before grabbing a knife and stabbing him six times, puncturing a lung and leaving a deep wound in Locke's neck.
"You left your knife embedded in Mr Locke's back," Victorian Supreme Court Justice John Dixon said as he sentenced Byron today.
"Mr Locke had turned away from you moments before the attack and what you should have done was to have walked away, but you did not do so.
"You formed a murderous intention and acted on it, using a knife you happened to be carrying."
Locke was vulnerable at the time of the attack, because he was stabbed from behind while sitting down.
The New Zealand man, who suffers from a blood clotting disorder, lost a lot of blood and could have died from his injuries without medical intervention, Justice Dixon said.
He is significantly affected by fear and anxiety when in public.
Byron pleaded not guilty to attempted murder and continues to deny he was responsible.
The court heard he had a traumatic childhood and was homeless by the age of 11.
Byron was sentenced to 12 years jail, with a nine-year non-parole period.
He has served almost 600 days in pre-sentence custody, where he is being held in tight security after assaults on prison officers.