The Quran was revealed to Muhammad over a period of 23 years, beginning on December 22, 610 CE, when he received his first revelation from God through the angel Gabriel. The revelations continued until Muhammad's death on June 8, 632 CE. The Quran was written down by Muhammad's companions and scribes, who recorded the revelations on various materials, including palm leaves, stones, and animal hides.