A German man has been found guilty of drugging and raping his unconscious wife for years and sharing video of his crimes on the internet, in a case that has drawn comparisons to the trial of Dominique Pelicot in France.

Fernando P., a 61-year-old school janitor, was found guilty of abusing his wife inside the couple’s home, filming it and then sharing it online without the victim’s knowledge.

He was sentenced Friday to 8 years and 6 months in prison following a trial at a court in Aachen, western Germany. An appeal may be filed against the judgment within one week, the court said.