The Madinese era could be divided into three phases:
The first phase was characterized by too much trouble and discord, and too many obstacles from within coupled by a hostile wave from without aiming at total extermination of the rising faith. It ended with Al-Hudaibiyah Peace Treaty in Dhul Qa‘da 6 A.H.
The second phase featured a truce with the pagan leadership and ended in the conquest of Makkah in Ramadan 8 A.H. It also witnessed the Prophet (Peace be upon him) inviting kings beyond Arabia to enter the fold of Islam.
In the third phase, people came to embrace Islam in hosts. Tribes and other folks arrived in Madinah to pay homage to the Prophet (Peace be upon him). It ended at the death of the Prophet (Peace be upon him) in Rabi‘ Al-Awwal 11 A.H.