Dagmar Doring of the Free Democratic Party announced she was dropping out of the general election Sunday following the revelation, The Local.de reported.
The essay, which Doring penned in 1980 when she was 19 years old, was discovered during an investigation, commissioned by the Green Party, into political demands for the legalization of pedophilia made during the 1970s and 1980s.
Doring wrote that she had experienced a situation where, "no man and no woman, rather a child, in particular a girl," could satisfy her needs and that she was afraid of the law which punished the "love between adults and children," and said she wanted "to do everything to change such laws."
The essay was published in a book called "Paedophilia Today."
In a statement on her website Sunday, Doring said: "As a married woman and mother of three children, my then immature thoughts are today unbelievably embarrassing -- most of all with regards to my family and my current colleagues."
Doring said she plans on keeping her job as chair of the FDP women's group in the state of Hesse, the Frankfurter Rundschau said Monday.
2014 amfAR Inspiration Gala [PHOTOS]
Sweden recognizes Palestinian state