The prosecution also alleged £3,000 cash found at his flat was the proceeds from the sale of the drug.

Davies was also convicted of permitting the premises to be used for the smoking of the drug.

In passing sentence, the judge said Davies had persistently flouted the law.

James McCrindell, for the defence, said: "This episode began out of a genuine belief on the part of Davies that it was appropriate to help others who were in difficult circumstances in relation to their medical condition."