A drug dealer from Llantwit Major has been jailed for five-and-a-half years.
Jay Murray ran a so-called "drug line" offering crack cocaine and heroin despite already being on probation for previous offences.
Cardiff Crown Court heard the 24-year-old had sent out thousands of text messages each week.
He had been using someone else's flat near Salisbury Road as a base for his dealing - thereby exploiting the occupant, who was suffering from serious illness.
Organised crime detectives found the drug line matched the mobile phone number which Murray had used to contact police and probation officers during his release from prison.
In October 2023, they arrested Murray near the flat, where officers found crack cocaine, cocaine, cannabis and £1738 in cash.
Murray went onto plead guilty to charges of being concerned in the supply of heroin and crack cocaine, possessing crack cocaine with intent to supply and possessing criminal property (cash).
The court heard this was Murray's third drug dealing conviction, which carries a mandatory prison sentence of seven years.
But because he had entered guilty pleas at an early stage, the sentence was reduced by eighteen months.

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