A DUNFERMLINE cocaine dealer who was caught with an illicit phone charger in his prison cell claimed he was only using it to charge his vaping device.

Ryan Keggan, 28, was jailed for four months today (Wednesday) after he admitted having the banned charger in his cell at Perth Prison on July 16, 2019.

Keggan was serving a 50-month sentence for drug-dealing and dangerous driving when prison officers carried out a search of his cell.

Fiscal depute Andrew Harding told Perth Sheriff Court: "Officers carried out a routine search of his cell and found a mobile phone charging cable concealed behind the TV."

Solicitor John McLaughlin, defending, said: "He was moved into the cell and the charging cable was already there. He was using it to charge his vape.

"It would have been capable of charging some kinds of mobile phone but he was not using it to that effect. He was not really thinking about it."

Keggan was convicted previously of causing damage costing more than £4,000 to a cell and blamed bullying and stress caused by the pandemic lockdown for the rampage.