Mahmood Farooqui, co-director of hit India art-house and festival hit “Peepli Live” was Thursday sentenced to seven years in jail by a Delhi court.

Farooqui was convicted last week of raping an American student and film researcher who had come to his house. He denied the charges and can appeal against the sentence.

Produced by Indian megastar Aamir Khan, satire “Peepli Live” told the tale of two farmers who planned to commit suicide in order that their families benefit financially, and the media frenzy that surrounded them as they got closer to the act. Anusha Rizvi, wife of Farooqui, was director. Farooqui was credited as co-director, associate director and casting director.

Rape and violence against women have become major discussion topics as, despite the attention paid to the 2012 rape of a girl on a bus, attacks seem to continue and Indian justice to only work very slowly.

The attack by Farooqui took place in March 2015. The charges were heard by a fast-track court.