Both the Lieber Code and the Hague Convention of 1907, which took much of the Lieber Code and wrote it into the international treaty law, included practices that would be considered illegal or extremely questionable by today's standards. In the event of the violation of the laws of war by an enemy, the Code permitted reprisal (by musketry) against the enemy's recently captured POWs; it permitted the summary execution (by musketry) of spies, saboteurs, francs-tireurs, and guerrilla forces, if caught in the act of carrying out their missions. (These allowable practices were later abolished by the Third and Fourth Geneva Conventions of 1949, following World War II, which saw these practices in the hands of totalitarian states used as the rule rather than the exception to such.)