A DRUG dealer from Cirencester who sold crack and heroin to an undercover police officer has been given one final chance by a judge.

Judge Peter Blair QC imposed a two year jail term suspended for two years on Casey Goble and added a drug rehabilitation requirement, and a three month night time curfew after Goble pleaded guilty to three counts of supplying drugs.

Goble, 41, now of County Road, Swindon was told he had come within a hair's breadth of going to prison after being caught in an undercover sting.

The 41-year-old, who moved to Swindon from Cirencester, claimed he was put under pressure to sell the drugs after stealing from a gang.

Claire Marlow, prosecuting, told Swindon Crown Court how officers were targeting a supply network known as the DDNs in late 2013.

An undercover officers using the name Chez contacted a dealer asking for heroin and crack cocaine and was told to go to Elmina Road in Swindon.

"He was then seen by a man seen as being in a cardigan and told to go into an alleyway," Miss Marlow said.

"The man then spat out two plastic wrappings from his mouth, handed them over, and in turn was handed two £10 notes."

A week later the officer made contact again and met the same man, still wearing a cardigan, and bought some heroin.

When the defendant was arrested he told police that he had stolen £2,500 from a drug dealer and his associates and moved to Swindon from Cirencester to start a new life.

Although he had been offered help by the police he said he had turned it down and gave in to pressure to deal for his attackers.

Tony Bignall, defending, said in the past year his client had begun to get some stability in his life and said he was getting too old to be in trouble.

Passing sentence Judge Blair QC said "It was, I think, a three year sentence for a burglary which you got in 2010 and here you are back in front of the courts this time for supplying an undercover police officer on two separate dates with class A drugs.

"You deserve, in terms of sentencing guidelines, a sentence between two and three years for what you did on these two dates in December 2013.

"There is plainly some coercion that led you to be running these drugs for a supplier and threats of violence.

"You also have some substantial health problems: I take in to account your letter to me which suggests, if you are to be believed, there are a number of family and accommodation elements to your life that are making things more stable together with your age and health, bringing home to you that this is an evil drug that is gradually destroying you and has destroyed another member of your family in the past.

"This will be your final chance."