section_path: History/Muhammad and the beginning of Islam (570–632)
section_name: Muhammad and the beginning of Islam (570–632)
paragraph_text: Muhammad and the beginning of Islam (570–632)
  
  According to Islamic tradition, Muhammad was born in Mecca in 570 CE and was orphaned early in life. Growing up as a trader, he became known as the " trusted one " (Arabic: الامين) and was sought after as an impartial arbitrator. He later married his employer, the businesswoman Khadija. In the year 610 CE, troubled by the moral decline and idolatry prevalent in Mecca and seeking seclusion and spiritual contemplation, Muhammad retreated to the Cave of Hira in the mountain Jabal al-Nour, near Mecca. It was during his time in the cave that he is said to have received the first revelation of the Quran from the angel Gabriel. The event of Muhammad's retreat to the cave and subsequent revelation is known as the " Night of Power " (Laylat al-Qadr) and is considered a significant event in Islamic history. During the next 22 years of his life, from age 40 onwards, Muhammad continued to receive revelations from God, becoming the last or seal of the prophets sent to mankind.
  
  During this time, while in Mecca, Muhammad preached first in secret and then in public, imploring his listeners to abandon polytheism and worship one God. Many early converts to Islam were women, the poor, foreigners, and slaves like the first muezzin Bilal ibn Rabah al-Habashi. The Meccan elite felt Muhammad was destabilizing their social order by preaching about one God and giving questionable ideas to the poor and slaves because they profited from the pilgrimages to the idols of the Kaaba.
  
  After 12 years of the persecution of Muslims by the Meccans, Muhammad and his companions performed the Hijra ("emigration") in 622 to the city of Yathrib (current-day Medina). There, with the Medinan converts (the Ansar) and the Meccan migrants (the Muhajirun), Muhammad in Medina established his political and religious authority. The Constitution of Medina was signed by all the tribes of Medina. This established religious freedoms and freedom to use their own laws among the Muslim and non-Muslim communities as well as an agreement to defend Medina from external threats. Meccan forces and their allies lost against the Muslims at the Battle of Badr in 624 and then fought an inconclusive battle in the Battle of Uhud before unsuccessfully besieging Medina in the Battle of the Trench (March–April 627). In 628, the Treaty of Hudaybiyyah was signed between Mecca and the Muslims, but it was broken by Mecca two years later. As more tribes converted to Islam, Meccan trade routes were cut off by the Muslims. By 629 Muhammad was victorious in the nearly bloodless conquest of Mecca, and by the time of his death in 632 (at age 62) he had united the tribes of Arabia into a single religious polity.