How was the situation in Median when the Prophet settled at it and what did happen after the migration?

When the Prophet Muhammad and his companions settled at Yathrib, this city changed its name, and henceforth was called, Al-Medina, Al-Munawara, the Illuminated City, or more shortly, Medina, the City. It is situated about eleven-day's journey to the north of Mecca. At that time it was ruled by two Kahtanite tribes, Aws and Khazraj. These two tribes, however, were constantly quarreling among themselves. It was only about that time when the Prophet announced his mission at Mecca that these tribes, after long years of continuous warfare, entered on a period of comparative peace. When the Prophet settled at Medina, the tribes of Aws and Khazraj forgot entirely their old feuds and were united together in the bond of Islam. Their old divisions were soon effaced and the Ansar", the Helpers of the Prophet, became the common designation of all Medinites who had helped the Prophet in his cause. Those who emigrated with him from Mecca received the title of "Muhajereen" or the Emigrants. The Prophet, in order to unite both classes in closer bonds, established between them a brotherhood, which linked them together as children of the same parents, with the Prophet as their guardian.