Art. 86 Military Penal Code (MPC)
Art. 86 CPM
Whoever, in order to disclose or make accessible to a foreign State or one of its agents, spies on facts, arrangements, processes or objects that must be kept secret in the interest of national defense because their revelation would jeopardize the fulfillment of the mission of essential parts of the army, whoever intentionally discloses or makes accessible to a foreign State or one of its agents, facts, arrangements, processes or objects that must be kept secret in the interest of national defense because their revelation would jeopardize the fulfillment of the mission of essential parts of the army, shall be punished with a custodial sentence.
The perpetrator shall be punished with a custodial sentence of at least three years if such acts are committed while troops are assembled for active duty. The judge may impose a life custodial sentence if such acts hinder or jeopardize the operations of the Swiss army.
The perpetrator shall be punished with a custodial sentence of up to three years or a monetary penalty if they act through negligence.