DOVER, Del. — A judge has ruled in favor of Delaware State Police in a lawsuit filed by a man who was shot in the back by a trooper in 2013.

The judge on Wednesday rejected Keith Schueller’s claims of gross negligence, battery and intentional infliction of emotional distress.

Court records show that Schueller, a suspect in several thefts, led police on a vehicle chase before crashing his car and running into a cornfield.

Trooper Brett Cordrey ran after Schueller, who picked up a shovel and threatened Cordrey with it. Cordrey first tried to use a stun gun to subdue Schueller before drawing his gun and firing a single shot.

Cordrey said he thought he shot Schueller in the chest. The attorney general’s office found the use of deadly force to be justified.