Question: who wrote the prayer now i lay me down to sleep
Answer: Perhaps the earliest version was written by Joseph Addison in an essay appearing in The Spectator on 8th March 1711 .