Jibreel (peace be upon him) visited Prophet Muhammad (Sallallahu 'Alaihi wa Sallam) and revealed verses of the Qur'an over a period of twenty-three years.
Prophet Muhammad (Sallallahu 'Alaihi wa Sallam) would receive some parts of a chapter or a whole chapter.