"when the Ifrit"

An ifrit is a supernatural being of Arabic folklore.  They are a type of genie and are sometimes good, sometimes evil in legends.