The great-grandson of "Lord of the Rings" author JRR Tolkien was ordered to pay about $6,196 Tuesday for possession of cannabis.

Piers Crombleholme, 27, was said to be “steeped in the drug culture”.

He admitted growing 39 cannabis plants at his shop selling knives and guns in Dudley, West Midlands, but said it was for his personal use.

Click here for The Sun and to see a photo of Piers

Crombleholme was also given an 18-month community order and told to attend rehab.

Judge Michael Challinor told him: “You are steeped in the drug culture and need help to be brought away from it.

“You were in receipt of a trust fund from your relative’s literary career and have been given a golden opportunity to run your own business.

“I therefore need to take steps to turn you away from this lifestyle.”

Judge Challinor also criticised Crombleholme for selling books showing how to grow cannabis.

Earlier, the author’s relative had been cleared at Wolverhampton Crown Court of dealing drugs.

Crombleholme said he had no need to sell them because he had more than $206,530 from the Tolkien Trust.