<human>:  When did the French writer Stendhal die?
<bot>: Stendhal died in 1842. He was a French writer who wrote about the lives of the French aristocracy. He is most famous for his novel The Red and the Black, which is about a French officer who is torn between two women.