Judge Simon Carr told Alexander Rouen that his possession of weapons meant he had to go to jail.
A fresh-faced weed dealer who imported drugs off the dark web has been jailed after a court heard he also had two potentially deadly weapons in his possession.
Alexander Rouen, 21, was caught with various types of cannabis and related paraphernalia worth thousands of pounds.
Rouen, of Alverton Road in Penzance, appeared at Truro Crown Court for sentence after admitting supplying a Class B drug, possession of a knife and possession of an offensive weapon.
Prosecuting the case, Felicity Payne told the court how in November last year Rouen overheard a conversation between staff at Penzance YMCA relating to suspicions that he was dealing drugs from his flat there.
Rouen went into his room and started to shout and threaten staff as well as banging his head against the wall.
Police were called and when officers were made aware of other people coming and going at the flat Rouen became agitated.
Shortly after officers carried out searches and found cannabis and a hunter knife – which Rouen later said he bought legally from a Penzance store – in a backpack.
He was also found with £335 stuffed in his boxers and a Taser was located in his room.
The cannabis amounted to 130 grams with a street value of £1,180 and it later became clear Rouen had imported it from North America after buying it on the dark web.
Speaking on behalf of Rouen, Steve Butterworth, from The Probation Service, said Rouen lacked maturity and an awareness of the repercussions that having a Taser and knife could bring.
He was said to have had a difficult childhood, becoming homeless at 14 and being stabbed whilst on the streets.
Sentencing Rouen, Judge Simon Carr remarked that all the evidence showed that Rouen was actively involved in street dealing but the fact he was in possession of the weapons meant that only a custodial sentence was appropriate.
Rouen was jailed for 12 months.