Muhammad was born in Mecca, Hejaz. He was raised by his grandfather Abd al-Muttalib and later by his uncle Abu Talib. When he was young, Muhammad accompanied his uncle Abu Talib on trade trips. In 610 AD, at the age of forty, while Muhammad was praying, he reportedly met Gabriel and received the first revelation of the Qur'an. At first, Muhammad preached these revelations to his close friends and family. He started preaching monotheism publicly where he received opposition from Meccan polytheists. He was eventually forced to leave his hometown of Mecca. After reaching Medina with Abu Bakr, the Medinan Muslims helped Muhammad and made a mosque there.