COLUMBIA, S.C. (AP) — A man has been sentenced to 15 years behind bars for trying to use a drone to smuggle contraband into a maximum security South Carolina prison, officials said Tuesday.

Department of Corrections spokeswoman Stephanie Givens told The Associated Press that Brenton Lee Doyle has been sentenced to 10 years for trying to bring contraband into prison and five years for marijuana possession. She said he pleaded guilty in a Lee County court.

In April, officials found a crashed drone in bushes outside the walls of Lee Correctional Institution in Bishopville. Officers also found materials that inmates are not supposed to have, including phones, tobacco products, marijuana and synthetic marijuana.