They embodied ethnic and religious cleansing that would not stop at the borders of Iraq and Syria, but had the ambition to spread beyond the Middle East.