A Barry man who acted as a runner for another drug dealer has been jailed.
Michael Cross was caught by police offering crack cocaine during an undercover operation.
Evidence on his mobile phone revealed he was linked to Jack Thomas, who ran a drugs line offering crack cocaine under the nickname of 'Fatz'.
Cross was sentenced to two years and five months when he appeared at Cardiff Crown Court on Tuesday.
The court heard Cross had been offering crack cocaine to a woman near his flat at Osprey Court in June.
He had tried to discard two street deals as he was being arrested, but officers recovered both as evidence, before finding more crack cocaine at his address.

It was a phone seized from Cross that led officers to Thomas, who was arrested the following month during a crackdown on county lines drug dealing in Cardiff and the Vale.
Thomas had been sending out messages to hundreds of people at a time on his phone, implying the 'purity' and 'availability' of the drugs he was selling.
Cross was later charged with possessing with intent to supply crack cocaine, and being concerned in the supply of crack cocaine and cannabis.
South Wales Police said 25 people was arrested throughout July by organised crime officers during their county lines crackdown.
Across Cardiff and the Vale of Glamorgan, 21 drug lines were put out of business and a quarter of a kilogram of crack cocaine was seized along with £17,000 in cash.

Cardiff Bay connects to heat network
Two boys guilty of Kamran Aman murder
Man's body found in Barry Dock
Another successful year for Santa's Cause
Council set to relaunch petitions scheme
Two men questioned after A48 collision
Candlelighting held at Barry chapel
Power tools found in stolen vehicle
Engineering works to hit Christmas trains
Council sets out future housing plans
Joint police and fire control room criticised
Costs rise for new Cowbridge school
St Athan: plans to build 51 new council homes
Vale Council to continue tax premiums
Penarth: work to make cliff safe after landslips
Debate over single Welsh police force reignited
New five-year food strategy launched
£20 million regeneration Plan submitted to the UK Government