A St. Charles man who used a dog in a lewd act will spend 60 days in jail.

Huecias pleaded guilty to misdemeanor attempted sexual contact with an animal in exchange for the sentence. He originally was charged with sexual contact with an animal and criminal trespass. He could have received up to four years in prison. Huecias smiled and seemed relaxed throughout the hearing while his family and friends waited in the audience.

According to police, Huecias pressed himself up against a chain link fence in the 1400 block of South Seventh Street at 9:15 a.m. June 9 and made sexual contact with an Akita.

He was observed coming back to the same house at 12:30 p.m. and jumping the fence. Police officers found him in the yard on his knees with his pants undone trying to get the dog to approach, prosecutors said.

However, it isn’t the county’s first brush with sexual crimes against animals. An Elburn man was charged with sexually abusing a pit bull owned by a Geneva man last year. He was convicted of damage to property, because a judge ruled that sexual gratification couldn’t be proven.