Question: when does a lesson before dying take place
Answer: While it is a fictional work , it is loosely based on the true story of Willie Francis , a young Black man sentenced to death by the electric chair twice in Louisiana , in 1945 and 1947 .