Heroin addict Ben Hope went about the murder of Aamir Siddiqi with "staggering incompetence", according to the prosecution.
Hope was already a known criminal and drug addict in Cardiff when the murder was carried out.
Jason Richards has a criminal past littered with violence which has landed him in prison.
He is a heroin addict who unapologetically made a living from peddling hard drugs on the streets of Cardiff.
The pair met in prison and their intimacy behind bars went on to become a drug-dependent friendship outside.
More top news
Man who has barricaded himself in house for three days may have a stash of petrol and other explosives, police say.
Jessica Drake is the 11th woman to allege Donald Trump engaged in inappropriate sexual behaviour.
The singer said he often dreams he is with his late wife - only to wake up and remember his loss again.