¶1Jenkins, J., delivering the opinion.
¶2These cases having been returned to the same term of the Court, and depending upon the same rules of law, were consolidated for the purposes of the argument, and the following opinion governs both:
¶3On the 16th of April, 1862, the Congress of the Confederate States passed an Act, entitled “ An Act to further provide for the public defense,” whereby the President is authorized “ to call out and place in the military service of the Confederate States for three years, unless the war shall have been sooner ended, all white men who are residents of the Confederate States, between the ages of eighteen and thirty-five years at the time the call or calls may be made, and who are not legally exempt from military service.” By the ninth section of that Act it is provided, “that persons not liable for duty may be received as substitutes for those who are, under such regulations as may be prescribed by the Secretary of War.” On the 26th of April, 1862, the Secretary of War made, and through the Adjutant and Inspector General published, a General Order, No. 29, containing regulations, providing for the acceptance of substitutes, and the discharge of persons furnishing them. And again, on the 29th of the same month, he made and published in like manner another (explanatory of the former,) one section of which is in the following words: “No person other than those expressly named or properly implied in the above Act shall be exempted, except by furnishing a substitute exempt from military service, in conformity with the regulations already published, (General Order, No. 29,) and such exemption is valid only so long as the substitute is legally exempt.”
¶4*418Subsequently to the passage of said Act, and the making and publication of said regulations, one oí the applicants for discharge having volunteered, and the other having been enrolled for service, offered each a substitute, (to-wit, Farrell on the 17th May, and Williams on the 12th September, 1862,) which substitutes were accepted, and the persons furnishing them severally discharged. On the 27th September, 1862, the Congress passed an Act amendatory of that of the 16th April, authorizing the President to call out and place in the military service of the Confederate States persons between the ages of thirty-ñve and forty-five years, and otherwise answering the description given in the previous Act. The substitutes furnished by Farrell and Williams were between the ages of thirty-five and forty-five years when accepted as such, and still are so. They, therefore, were not liable (in their own persons) for service under the first Act, but are so under the second.
¶5After the passage of the Act of 27th September, - Farrell and Williams were again enrolled for service, and denying their liability, each sought a discharge by habeas corpus from the custody of the Commandant of Conscripts. Whether or not, under the circumstances stated, they are liable to this second enrollment is the question we are to consider.
¶6They claim exemption solely in virtue of the discharges granted them severally upon the acceptance of their substitutes.
¶7In their behalf, it is insisted that the substitution authorized by the ninth section of the Act of 16th April, is co-extensive with the term of their enrollment, viz: “ for three years unless the war shall have been sooner ended,” and that their discharge covers the same time. They deny the validity of the regulation made by the Secretary of War in his order of 29th April, for that, it is not such a regulation as the Congress authorized him to make — that it is an act of legislation of which the Congress alone is capable. They further insist, that even if that regulation be binding upon them, a proper construction of it will save their exemption.
¶8
¶9It will be observed that the entire legislation of the Congress, on this subject, is embraced in one short sentence: “Persons not liable for duty may be received as substitutes for those who are, under such regulations as may be prescribed by the Secretary of War.” It was certainly in the power of Congress to perfect the entire scheme of substitution, arranging all the details, and leaving no discretion to the Secretary. But they have chosen to do otherwise. The intention to confer upon that officer a large discretion is very apparent. There is but a single limitation affixed, viz: that substitutes shall be persons “not liable for duty”; and this is obviously not for the benefit of those desiring to put in substitutes, but for the public good. It may fairly be questioned, whether the discretion vested in the Secretary does not extend to the rejection by him of the entire policy. The language is permissive; substitutes “ may be received” — “ under such regulations as may be prescribed,” etc. May is generally regarded as a word of permission. In the construction • of statutes, may is held to mean shall in two cases, viz: where the thing to be done “ is for the sake of justice, or for the public benefit.” Dwarris on Statutes, 712. But the privilege of military substitution is for neither of those purposes. Had the Secretary failed to prescribe regulations, there could *420have been no substitution; yet there is no law directing that they shall be prescribed.
¶10Waiving this view, however, it will scarcely be affirmed that the delegation to that officer of a large discretion in framing regulations to guard the service of the country against detriment from the abuse of the privilege, would be void. On the contrary, it would seem to be eminently fit and proper. The position of that officer gives him at all times a clearer view of the military necessities of the Government than the members of the Legislature can be supposed to have. He is always at his post, overlooking the entire field of operations, and discerning the changes made in those necessities, by constantly varying circumstances, whilst they are often in recess, pursuing their private avocations. If substitution be a gratuitous privilege, as we think we have shown, it results as a corollary from that proposition, that Congress, in granting it, may either impose terms, or empower an executive officer of the Government to impose them. If the terms be unacceptable to any party enrolled, he may decline the privilege and perform the duty. If he accept it, he must do so, cum onere.
¶11
¶12By General Order, No. 58, the Secretary of War required persons enrolled, and certified by competent authority to be unfit for bearing arms, to report to a camp of instruction, that they might be detailed to lighter duty, to which they were competent; but on the 11th October, Congress passed an Act annulling this order, and providing that such persons be not required to assemble at a camp of instruction. Why? Because the order did not accord with legislative intention. They have, however, neither annulled nor modified the regulation of 29th April, and the legitimate inference is, that it does accord with their intention.
¶13Eor these reasons we regard that' regulation as a fixed legal condition of the privilege of substitution.
¶14
¶15
¶16As before remarked, we are inclined to consider the substitution more in the nature of a gratuitous privilege than of a binding contract.
¶17But conceding (for the argument) that it is a contract binding on the Government, and further, that good faith inhibits the cancellation or impairment of the other contract between the principal and substitute, the question presents itself, what were those contracts ? They were for such substitution and such only as the Act of April 16th, and the regulations of the Secretary of War in pursuance thereof) *423allow. All the terms, conditions and stipulations found to exist in the Act, and in the regulations entered into and became parts of those contracts. One of the regulations existing at the time of each substitution, was that the exemption accruing from it to the principal should be “valid only so long as the substitute should be legally exempt.” All parties are presumed to know the law and the regulations referred to in it, and necessary to its practical operation, and from this presumption nothing can relieve them. Thus it appears that the contract of substitution has not been can-celled or annulled by subsequent legislation, but has expired by its own limitation.
¶18It will be observed that we do not rest this opinion upon General Orders No. 82, made and published after the Acts of substitution we are considering, but upon the order of April 29th, which was anterior to them. Number eighty-two appears to be a digest of the several Acts of Congress relating to enrollment, exemption and substitution, and of the orders and regulations of the Department of War, for carrying them into effect. Some of the pre-existing orders and regulations are annulled and others modified by it. The order of the 29th April, is in substance repeated in number eighty-two, but it has been operative from the earlier date.
¶19
¶20The officers giving them were but agents of the War Department. The laws of Congress and the regulations of the Department, constitute their powers of attorney, and any act of theirs, transcending the powers thus given, and especially any act, violating the expressly declared intention of the •superior, is simply void. For these reasons we think there was error in the judgments of the Court below, ordering the applicants discharged.
¶21Let the judgment be reversed.