Generally considered to be the first detective novel, "The Moonstone", originally published in 1868, set the groundwork for the genre's format to come. The Moonstone of the title is a diamond, not to be confused with the semi-precious moonstone gem. It gained its name from its association with the Hindu god of the moon, Chandra. It was said to be protected by hereditary guardians on the orders of Vishnu, and to wax and wane in brilliance along with the light of the moon.