When were the Arab Invasions?