
47 U.S. 92 (____)
6 How. 92
WILLIAM C. BRASHEAR, PLAINTIFF IN ERROR,
v.
JOHN Y. MASON, SECRETARY OF THE NAVY, DEFENDANT.
Supreme Court of United States.

*93 It was argued by Mr. Bibb and Mr. Jones, for the plaintiff in error, and by Mr. Clifford (Attorney-General), for the Secretary of the Navy.
*99 Mr. Justice NELSON delivered the opinion of the court.
This is a writ of error to the Circuit Court held in and for the District of Columbia.
The plaintiff made application to the court below for a mandamus against the defendant, to compel the payment of $2100 arrearages of pay due him from the government as a commander in the navy of the United States, which application was founded on the following state of facts.
The plaintiff was appointed a commander in the navy of the republic of Texas on the 23d of September, 1844, and continued in its service down to the annexation of the republic to the United States, in pursuance of the joint resolutions of Congress, March 1, 1845, and until Texas was admitted into the Union as one of the States of the confederacy, and was in the actual service of that republic at the time when its navy, consisting of four vessels of war, was delivered over to the authorities of the United States, according to the terms of annexation.
The plaintiff insists, that, according to the terms and conditions of the compact between the two countries, on the transfer of the navy of Texas to the United States, and their acceptance of the same, he became an officer of the United States navy, and entitled to his pay and emoluments as such.
He further states, that he had reported himself to the Secretary of the Navy for duty, and had demanded his pay of the same; but that the Secretary had refused to recognize him as an officer of the navy, or to make any payment to him as such.
The court below refused the mandamus, and dismissed the application.
The case is now before us for review.
It is not pretended that there has been any stipulation, either by act of Congress or by treaty between this government and Texas, by which the officers of her navy were to become incorporated into the navy of the United States, as a consequence of the annexation; but it is supposed to result from a proper construction and understanding of one of the stipulations contained in the second joint resolution of March 1, 1845. The part material is as follows: 
"Said State (Texas), when admitted into the Union, after ceding to the United States all public edifices, fortifications, barracks, ports and harbours, navy and navy-yards, docks, magazines, *100 arms, armaments, and all other property and means pertaining to the public defence belonging to Texas, shall retain all the public funds," &c. (5 Statutes at Large, p. 797:)
The argument is, that the term "navy" properly includes, not only the vessels of war, their armaments and equipments, but also the usual complement of officers and crew on board the respective vessels; and that it is in this sense the term is used, and should be understood, in the joint resolutions.
We think not, but, on the contrary, are of opinion that it relates exclusively to the ships of war and their armaments belonging to the naval establishment of Texas, which, according to the compact, were to become the property of the United States.
The two governments were not negotiating about persons holding public employments in Texas, or in respect to any place or provision for that class, on the breaking up of the old government and its reconstruction for admission into the Union, but in respect to her public property, which she was, generally, disabled from holding, under the Constitution of the United States, after her admission, as it fell under the jurisdiction and direction of the federal government.
The resolution provides for ceding to the United States all public edifices, fortifications, barracks, ports and harbours, navy and navy-yards, docks, magazines, &c., and all other property and means pertaining to the public defence.
The phraseology is appropriate for the purpose of conveying the property of the one government to the other, but exceedingly inapt and unfortunate if intended to embrace persons or public officers, as contended for by the plaintiff.
The argument in favor of including the officers of the navy of Texas in the transfer of the ships might be urged with equal force by the officers and hands in charge of the navy-yard, or of those at the time in charge of the fortifications; for the term "navy," in the connection in which it is used, no more includes, ex vi termini, the officers and crew on board, than the term "navy yard" includes the officers and hands in charge of that part of the public property, or the term "fortifications" includes the officers and soldiers of the republic engaged in manning them.
The construction contended for we think altogether inadmissible, and properly rejected by the court below.
We are also of opinion, that if the plaintiff had made out a title to his pay as an officer of the United States navy, a mandamus would not lie in the court below to enforce the payment.
The Constitution provides, that no money shall be drawn from the treasury but in consequence of appropriations made *101 by law. (Art. I. § 9.) And it is declared by act of Congress (3 Statutes at Large, p. 689, § 3), that all moneys appropriated for the use of the war and navy departments shall be drawn from the treasury by warrants of the Secretary of the Treasury, upon the requisitions of the Secretaries of these departments, countersigned by the second comptroller.
And, by the act of 1817 (3 Statutes at Large, p. 367, §§ 8, 9), it is made the duty of the comptrollers to countersign the warrants only in cases when they shall be warranted by law. And all warrants drawn by the Secretary of the Treasury upon the treasurer shall specify the particular appropriations to which the same shall be charged; and the moneys paid by virtue of such warrants shall, in conformity therewith, be charged to such appropriations in the books kept by the comptrollers; and the sums appropriated for each branch of expenditure in the several departments shall be solely applied to the object for which they are respectively appropriated, and no others. (2 Statutes at Large, p. 535, § 1.)
Formerly, the moneys appropriated for the war and navy departments were placed in the treasury to the credit of the respective secretaries. That practice has been changed, and all the moneys in the treasury are in to the credit or in the custody of the treasurers, and can be drawn out, as we have seen, only on the warrant of the Secretary of the Treasury, countersigned by the comptroller.
In the case of Mrs. Decatur v. Paulding (14 Peters, 497), it was held by this court that a mandamus would not lie from the Circuit Court of this District to the Secretary of the Navy to compel him to pay to the plaintiff a sum of money claimed to be due her as a pension under a resolution of Congress. There was no question as to the amount due, if the plaintiff was properly entitled to the pension; and it was made to appear, in that case, affirmatively, on the application, that the pension fund was ample to satisfy the claim. The fund, also, was under the control of the Secretary, and the moneys payable on his own warrant.
Still the court refused to inquire into the merits of the claim of Mrs. D. to the pension, or to determine whether it was rightfully withheld or not by the Secretary, on the ground that the court below had no jurisdiction over the case, and, therefore, the question not properly before this court on the writ of error.
The court say, that the duty required of the Secretary by the resolution was to be performed by him as the head of one of the executive departments of the government, in the ordinary discharge of his official duties; that, in general, such *102 duties, whether imposed by act of Congress or by resolution, are not mere ministerial duties; that the head of an executive department of the government, in the administration of the various and important concerns of his office, is continually required to exercise judgment and discretion; and that the court could not by mandamus act directly upon the officer, and guide and control his judgment or discretion in matters committed to his care in the ordinary discharge of his official duties.
The court distinguish the case from Kendall v. The United States (12 Peters, 524), where there was a mandamus to enforce the performance of a mere ministerial act, not involving, on the part of the officer, the exercise of any judgment or discretion.
The principle of the case of Mrs. Decatur is decisive of the present one. The facts here are much stronger to illustrate the inconvenience and unfitness of the remedy.
Besides the duty of inquiring into and ascertaining the rate of compensation that may be due to the officers, under the laws of Congress, no payment can be made unless there has been an appropriation for the purpose. And if made, it may have become already exhausted, or prior requisitions may have been issued sufficient to exhaust it.
The Secretary is obliged to inquire into the condition of the fund, and the claims already charged upon it, in order to ascertain if there is money enough to pay all the accruing demands, and if not enough, how it shall be apportioned among the parties entitled to it.
These are important duties, calling for the exercise of judgment and discretion on the part of the officer, and in which the general creditors of the government, to the payment of whose demands the particular fund is applicable, are interested, as well as the government itself. At most, the Secretary is but a trustee of the fund for the benefit of all those who have claims chargeable upon it, and, like other trustees, is bound to administer it with a view to the rights and interests of all concerned.
It will not do to say, that the result of the proceeding by mandamus would show the title of the relator to his pay, the amount, and whether there were any moneys in the treasury applicable to the demand; for, upon this ground, any creditor of the government would be enabled to enforce his claim against it, through the head of the proper department, by means of this writ, and the proceeding by mandamus would become as common, in the enforcement of demands upon the government, as the action of assumpsit to enforce like demands against individuals.
For these reasons, we think the writ of mandamus would *103 not lie in the case, and therefore, also, properly refused by the court below, and that the judgment should be affirmed.

Order.
This cause came on to be heard on the transcript of the record from the Circuit Court of the United States for the District of Columbia, holden in and for the county of Washington, and was argued by counsel. On consideration whereof, it is now here ordered and adjudged by this court, that the judgment of the said Circuit Court in this cause be and the same is hereby affirmed.
