A drug dealer was caught after a police hunt for a missing girl, a court has heard.

Police called at Jack Attwood's address at Manby Road, Norwich, as part of a search for a missing girl.

The court heard that while at the address officers found a number of Xanax tablets, a controlled drug of Class C.

On Attwood's mobile phone were a number of text messages asking him to supply Xanax.

Police also found a quantity of cocaine, a controlled drug of class A.

Attwood admitted possession with intent to supply a controlled drug of class C for another on November 18 last year.

He also admitted possession of cocaine on the same date.

Chris Brown, mitigating, said his client had been living 'a lifestyle he could not afford'.

He had 'got himself into such a mess' that he had a £100 a month Sky TV contract but no TV to watch it on as he had to sell it to pay off debts.

He had been hanging around with young people on disposable incomes and fitted into the group by 'fulfilling a purpose', namely supplying drugs.

His family had cut off contact with him because of his problems with drugs but were now supporting him.

He was jailed for 12 weeks which was suspended for 12 months.

He was also ordered to carry out 80 hours of unpaid work over the next 12 months, ordered to pay £85 costs and a £115 surcharge.