Martial law is a measure in which the head of state or the head of administration, such as the president,…