A care leaver has admitted supplying drugs to addicts in Tiverton.
Kyle Clack, aged 20, pleaded guilty to two charges of possession with intent to supply when he appeared at Exeter Crown Court.
Clack, now of East Street, Taunton, but formerly of Tiverton, admitted having heroin and crack cocaine when he was arrested on April 4 last year.
Judge Francis Gilbert, QC, bailed him to the hostel where he is living at Taunton on a tagged curfew and warned him he faces an immediate custodial sentence.
Mr David Evans, defending, said Clack had been ordered to sell drugs by an unidentified man to pay off debts owed by his brother.
He said Clack has been in care and is still receiving help with education, training and housing issues.