Islam began with Muhammad, whose teachings in Mecca formed the foundation of the faith. After his death, early Islamic empires like the Rashidun and Umayyad Caliphates expanded rapidly, paving the way for the cultural and scientific achievements of the Abbasid Dynasty.