There are two types of armed religious warfare in Islam, namely the defensive jihad and the
offensive jihad. This article discusses defensive jihad as a concept in Islamic law. (For discussion of aspects of jihad not related to warfare, see the main article,
jihad.) Islamic tradition holds that when Muslims are attacked, then it becomes obligatory for all Muslims to defend against the attack; to participate in jihad.Muslims consider armed struggle against foreign occupation or oppression by domestic government to be worthy of defensive jihad. Indeed, the
Qur'an requires military defense of the besieged Islamic community.
See more at Wikipedia.org...