The martial law is imposed under the extraordinary circumstances like war, invasion, insurrection, rebellion, riot or any violent resistance to law.