PORT CLINTON, Ohio (AP) — A 78-year-old Ohio man has been sentenced to five years in prison for raping a woman who later posted a Snapchat video of herself being attacked.

James Allen told a judge in Ottawa County Common Pleas Court on Thursday he had been drinking and didn’t know what happened until his lawyer showed him the video.

READ MORE: One Family Business Expects A Surge In Customers After Christmas Tree Shortage

Police in Danbury Township arrested Allen in August after the woman’s friend saw the Snapchat video and alerted them.

A prosecutor says the video clearly shows a sexual assault taking place.

READ MORE: Mass Shooting Leaves Seven People Injured In East Baltimore

Allen pleaded guilty to rape and had faced up to 11 years in prison but asked for the minimum of three years. A defense attorney says the Marblehead man plans to appeal the sentence.

Follow @CBSBaltimore on Twitter and like WJZ-TV | CBS Baltimore on Facebook

MORE NEWS: Orlov Scores Late, Caps Beat Hurricanes For 9th Win In 11

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)