The Islamic World and South Asia test:

Why did Muhammad move from Mecca to the city of Medina?

Muhammad moved from Mecca to Medina, also known as the Hijra, due to persecution and threats to his life by the powerful Meccan tribes who opposed his teachings. The people of Medina welcomed him and his followers, and the move marked the beginning of the Islamic era and the growth of the Muslim community.