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.

'Good' inspection for Barry care home
Tributes to grandmother after fatal collision
Cowbridge school praised by inspectors
Halloween Which Craft event is coming back to the town centre
Senedd members called for lifelong blue badges for people with permanent conditions, labelling the current renewal system as unfair, stressful and potentially discriminatory
Net zero housing earmarked for former tip
Apple Day Celebrations Bring Penarth Communities Together
Council’s development plan falling behind target
Schools in Wales will be required to deliver at least 10% of teaching in Welsh by 2030
Nearly 1,000 children take part in Vale Summer Reading Challenge
More than 60 illegal e-bikes and e-scooters seized across Cardiff and Barry
Passenger Numbers Grow at Cardiff Airport following strong summer
Poll shows incidents of sexual harassment
Art Exhibition with a difference held at Penarth Hospice
Wales History Trails Passport Challenge Returns to 34 Museums Across Wales
Ysgol Y Deri Pupils power new Penarth Shop
Barry Town Mayor’s Scout Troop
Welsh city could host Women’s World Cup games