Andr’e Gide the writer was expelled from school for what crime

Question
Andr’e Gide the writer was expelled from school for what crime
Answer
Masturbating during lessons