Following the brutal Mongol invasion of Central Asia under Genghis Khan, and the sack of Baghdad which occurred in 1258, the Mongol Empire's rule extended across most Muslim lands in Asia. The Abbasid caliphate was destroyed and the Islamic civilization suffered much devastation, especially in Mesopotamia, and Tengriism and Buddhism replaced it as the official religions of the empire.[35] However, the Mongols attacked people for goods and riches, not because of their religion. Later, many Mongol khans and rulers such as those of the Oljeitu, the Ilkhanid and the Golden Horde became Muslims along with their subjects.