It is a crime of Fasad fi Alrd which incurs the severest punishment in Islam. The punishment of Fasad fil Ard are four are prescribed as:
The punishment of those who wage war against God and His Messenger and in this way strive to spread anarchy in the land is to execute them in an exemplary way or to crucify them or to amputate their hands and feet from opposite sides or to banish them from the land. (5:33)
Ghamidi saheb writes in his note on this verse
when murder becomes terrorism, fornication becomes rape and theft assumes the form of robbery or people take to prostitution, become notorious for their ill-ways and vulgarity, become a threat to honourable people because of their immoral and dissolute practices, or rise against the government in rebellion, or create a law and order situation for the government by indulging in hijacking, vandalism and intimidation and by committing other similar crimes, then such people are criminals of spreading anarchy in the society.