With important developments in other parts of the Islamic world, Iraq no longer plays a pivotal role during the period from 1000 to 1400. The Abbasid caliph resides in Baghdad for more than the first two centuries, and commercial, intellectual, and artistic life continues. However, the devastating sack of Baghdad by the Mongols in 1258 puts an end to the caliphate as well as a chapter in Islamic history. The region becomes a provincial center until the twentieth century.