Andrew Christopher Sisson, 31, of Barngill Place, Distington, admitted possessing diazepam with intent to supply it to others while on post-sentence supervision on August 24 last year.
He also admitted a separate charge of supplying valium on August 19 last year.
Sisson must pay a victim surcharge of £115 and £85 costs, as well as an attachment-of-earnings order for £200.
Comments: Our rules
We want our comments to be a lively and valuable part of our community - a place where readers can debate and engage with the most important local issues. The ability to comment on our stories is a privilege, not a right, however, and that privilege may be withdrawn if it is abused or misused.
Please report any comments that break our rules.
Read the rules here