At his 1977 trial , Flynt was sentenced to seven to 25 years for obscenity and for engaging in organized crime .
Flynt was sentenced to five to twenty years in prison for profanity and vagrancy on his 1977 trial .