A police officer was thrown to the ground Tuesday night as a man tried to get away in a stolen truck, according to authorities.

Police said they were called to about a retail theft. They said the suspect drove off, prompting a chase that lasted about 15 minutes.

Surveillance video shows an officer getting caught up in the window of the truck as the driver, Michael Emrick, pulled away from the gas station, causing the officer to be thrown to the ground.

The chase ended when Emrick crashed into a shed in Frank Roppos’ back yard.

Emrick, who was wearing a T-shirt with the words "really good at making really bad decisions," was arrested and found with suspected heroin needles and drug paraphernalia, police said.

Police charged Emrick with a number of charges, including retail theft and aggravated assault.

Chief David Christner said the officer was not seriously hurt, but it could have been much worse.

"I was just going down to sleep and then I heard a big boom and looked out and saw it," Roppos said.