City of Yathrib
In Yathrib Islam began to flourish. The people accepted Muhammad as their leader and king. Muhammad established all laws, and settled all disputes. He taught the people that they owed their loyalty first to Islam, second to their families, and only thirdly to their own tribes. These teachings united his people under his rule and authority.
The teachings and laws revealed by Muhammad were written in books, which became known as the Quran. The Quran today is considered to be holy scripture by those who practice Islam.
Gradually the city of Yathrib became known as Madinah, which means “The City of The Prophet”.