STEVENS, Pa. (WHTM) – A Lancaster County man was arrested after police say he admitted he illegally entered a barn so he could have sex with an animal.

Travis L. Wagner, 21, of Reinholds, is charged with a felony count of burglary and a misdemeanor count of sexual intercourse with an animal.

Ephrata police said the investigation began Aug. 16 when a witness told officers that a vehicle had been parked near a barn in the 500 Block of Indiantown Road, in West Cocalico Township, and the driver was seen going inside for a short period of time.

The witness provided the license plate number of the vehicle and investigators traced it to Wagner.

Wagner was interviewed and police said he admitted he entered the barn to have sexual intercourse with a miniature horse.

He was arraigned on Monday and released on $5,000 unsecured bail.

Police said the burglary charge carries a maximum penalty of not more than 10 years in prison, and the sexual intercourse with an animal charge carries a maximum sentence of not more than two years.Get breaking news, weather and traffic on the go. Download the ABC27 News App and the ABC27 Weather App for your phone and tablet.