This is such an interesting question, but it's almost unanswerable. That time period is so vast, with so many events including the Mongol sack, that's it's impossible to form a general answer besides 'its population dwindled after 1258 and it never regained its former prominence until the birth of the State of Iraq.'
Please specify a more narrow range of time.