Saladin captures Jerusalem, starting the Ayyubid period of Muslim rule, which lasts until 1250.