Those were the original objectives until Islam stepped things up and more soldiers who took religion a bit more seriously got involved. After the power play, it really did become a war based on religion in the sense that people who were fighting actually believed it that way.