<Tr> <Th> Participants </Th> <Td> Muhammad and his followers </Td> </Tr> <Tr> <Th> Outcome </Th> <Td> Renaming Yathrib as "the City (of the Prophet)" (Medina); Enmity between the Aus tribe and Khazraj tribes ended; Muhammad made political leader and united the new Muslims </Td> </Tr> <P> The Hejira (Arabic: هِجْرَة ‎) is the migration or journey of the Islamic prophet Muhammad and his followers from Mecca to Yathrib, later renamed by him to Medina, in the year 622 . In June 622, after being warned of a plot to assassinate him, Muhammad secretly left his home in Mecca to emigrate to Yathrib, 320 km (200 mi) north of Mecca, along with his companion Abu Bakr . Yathrib was soon renamed Madīnat an - Nabī (Arabic: مَـديـنـة الـنّـبي ‎, literally "City of the Prophet"), but an - Nabī was soon dropped, so its name is "Medina", meaning "the city". </P> <P> The Hijrah is also often identified with the start of the Islamic calendar, which was set to 19 April 622 in the Julian calendar . </P>

Who was the first one to migrate to madinah