Gide was born in Paris into a middle class Protestant family. During a trip to Alegeria Gide realized that he was gay. His first novel The Notebooks of Andre Walter was published in 1891. Gide met Oscar Wilde in 1894. In October 1895 Gide married his cousin Madeleine. When Gide was 47 15-year-old Marc Allégret became his lover.