He took possession of Medina, and imposed his power and the Islamic doctrine, through attacks on caravans and nearby villages. In 630., the sanctuary Kaaba was immediately consecrated to Allah. Pilgrimage from Medina to Mecca, which has served as a model that every Muslim must perform once in his life. When Mohammed died in 632, Islam ruled Arabia. The father-in-law of the prophet, Abu Bakr, was the first caliph or successo.