The revelation of the Qur'an unfolded over about 23 years, from the first words in the cave of Hira around 610 CE through the Meccan and Medinan periods to the final verses in 632 CE.
The Prophet ﷺ and his followers migrate to Medina — the turning point that begins the Medinan period of revelation.
Medinan periodMore
The migration to Medina also marks year one of the Islamic (Hijri) calendar and a shift in the character of the revelations toward law and community life.