Under the military code, the charge of 'stealing the affections of brother officer’s wife' - in other word, adultery - attracts a maximum punishment of death. The penalty is derived from Section 497 of the IPC. With the Supreme Court striking down the law, the Army would no longer be able to slap a stern penalty on those found committing adultery.