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.

Former Holm View Leisure Centre could become education and community hub
ScoutsCymru members represent Wales at Royal Albert Hall Festival of Remembrance
Plans for indoor market at former Barry Wilko move forward
Police given additional powers to deal with anti-social behaviour in Barry
Senedd passes supplementary budget with £60m boost for additional learning needs
Future of planned festive events in question after criminal damage to Barry Town Hall
Consultation to open on plans for 35MW solar farm near Penarth
No Trains through the Vale of Glamorgan this Sunday
Police and Cardiff City launch operation to tackle matchday anti-social behaviour
Free leaf and fallen fruit collections return in the Vale
Barry retains Fairtrade Town status until 2029
£1m improvements planned for Pencoedtre Park as splashpad work set to begin
Plan submitted for new independent school on site of well-known charity farm
Is your hot water bottle safe?
Solicitor sentenced for defrauding Cancer Research UK
Cate is crowned champion!
WATCH: Winner of The Voice UK Cate McHugh duets with Sir Tom Jones
Barry filmmaker takes her documentary to the big screen in New York
Pupils leave their mark on new school at steel signing event
£3m refurbishment plans revealed for Cowbridge Town Hall