A gangster carved a weapon while in Perth Prison after being told there were five separate bounties on his head.
Andrew Sinclair said he created a weapon to protect himself after being given warnings that several gangland figures planned to kill him.
Sinclair, 33, was jailed for more than 13 years for the part he played in the bitter and murderous feud between the Lyons and Daniels clans in Glasgow.
Depute fiscal Matthew Kerr told Perth Sheriff Court that officers at Perth Prison had been given a tip-off that Sinclair had illicit items hidden in his cell.
He said they discovered a mobile phone and charger and a piece of plastic which had been carved to a point to act as a makeshift weapon.
Solicitor Lorna Clark, for Sinclair, said: “His intention was never to use the weapon.
“He knows he shouldn’t have had possession of the phone and charger and apologises for that. He was punished internally, with the loss of 14 days’ privileges.
“In relation to the homemade weapon he also received three days in segregation. His earliest release date is not until September 2030”
Sheriff William Wood imposed a 14-month prison sentence on Sinclair but made it concurrent.