A gang member from London who turned to dealing drugs in Trowbridge shortly after being released from prison has been jailed for three years.

Billihimin Omisola had been housed at the Amber Foundation in the town after being released early from a 20 month sentence for drug dealing in the capital.

But the 24-year-old, known as Tiny, managed to move out of the accommodation to 'cuckoo' at the town centre flat of a vulnerable addict, Swindon Crown Court was told.

Robin Shellard, prosecuting, told how police had gone to the flat on Newtown last July because of concerns over the lady who was well known to various local services.

Because the place stank of cannabis they carried out a search and noticed the defendant trying to shove something down the side of the sofa where he was sitting.

They retrieved a bag which contained not only deals of cannabis but also a number of wraps of a powder.

"Asked what they were he replied 'Mandy', which is ecstasy. There were 11 packages weighing 5.102g," he said.

Omisola had one phone on him and another, with details referring to him on it, was found on charge next to where he was sitting.

Because of his gang related activity in London he was under and ASBO banning him from having more than one mobile.

Mr Shellard said there were numerous messages relating to drug dealing outside nearby pubs The Ship, The Greyhound and The Lamb as well as Tesco Extra.

"The lady from the flat made a short statement. It seems he came for a short time but then in her words, would not leave," Mr Shellard said.

"There is reference in the papers to what is coming quite common: cuckooing. Someone of stronger will and physically stronger moving in to their house and taking it over for the purpose of dealing drugs."

Omisola, of Pimlico, London, pleaded guilty to two counts of possessing drugs with intent to supply.

The court heard he had a number of previous convictions before receiving the jail term for dealing in 2014.

Mike Pulsford, defending, said that his client had struggled after being housed at the Amber Foundation on early release from prison.

He said he was returned to serve another six months of the earlier sentence and is now trying to sort his life out.

Jailing him Judge Tim Mousley QC said "You were street dealing in drugs in a significant way."