qnli question: When was formal education for Islamic women halted? sentence: Despite the recognition of women's aptitudes during the Abbasid dynasty, all these came to an end in Iraq with the sack of Baghdad in 1258.