after stating the case, delivered the opinion of the court.
A recapitulation of the principles heretofore affirmed by this court, touching the liability of the United States, and of their officers and agents, to suit in the judicial tribunals.. will go far towards disposing of this case.
It should be premised that our law differs from that of England as to the right of the government tQ use, without compensation, an invention for which it has granted letters patent.
In England, the grant of a patent for an invention is considered as simply an exercise of the royal prerogative, and not to be construed as precluding the Crown from using the invention at its pleasure; and therefore a petition of right cannot be maintained against the Crown for using a patented invention ; although a private person or corporation, that has contracted to supply the government with articles embodying the invention, may be sued for infringement of the patent. Feather v. The Queen, 6 B. & S. 257; Dixon v. London Small Arms Co., L. R. 10 Q. B. 130, and 1 App. Cas. 632.
But, in this country, letters patent for inventions are not granted in the exercise of prerogative, or as a matter of favor, but under art. 1, sect. 8, of the Constitution of the United. States, which gives Congress power “ to promote the progress of science and useful arts, by securing for limited terms to authors and inventors the exclusive right to their respective writings and discoveries.” The Patent Act provides that *16every patent shall contain a grant to the patentee, his heirs and assigns, for a certain term of years, of “ the exclusive right to make, use and vend the invention or discovery throughotít the United States.” Rev. Stat. § 4884. And this court has repeatedly and uniformly declared that the United States have no more right than any private person to use a patented invention without license of the patentee or making compensation to him. United States v. Burns, 12 Wall. 246, 252; Cammeyer v. Newton, 94 U. S. 225, 235 ; James v. Campbell, 104 U. S. 356, 358 ; Hollister v. Benedict Manufacturing Co., 113 U. S. 59, 67; United States v. Palmer, 128 U. S. 262, 270-272.
The United States, however, like all sovereigns, cannot be impleaded in a judicial tribunal, except so far as- they have consented to be sued. This -doctrine has been affirmed by this court in cases too numerous to be cited; and was clearly stated by Mr. Justice Field, delivering judgment in the case of The Siren, as follows : “ It is a familiar doctrine of the common law, that the sovereign cannot be sued in his own courts without his consent. The doctrine rests upon reasons of puN lie policy: the inconvenience and danger which would follow from any different rule. It is obvious that the public service would be hindered, and the public safety endangered, if the supreme authority could be subjected to suit at the instance of every citizen, and consequently controlled in the use and disposition of the means required for the proper administration of the government. The exemption from direct suit is; therefore, without exception. This doctrine of the common law is equally applicable to the supreme authority of the nation, the United States. They cannot be subjected to legal proceedings, at law or in equity, without their consent; and whoever institutes such proceedings must bring his case, within the authority of some act of Congress. Such is the language of this court-in United States v. Clarke, 8 Pet. 444. The same exemption from judicial process extends to the property of the United States, and for the same reasons. As justly observed by the learned judge who tried this case, there is no distinction between suits against the government directly, and suits *17against its property.” 7 Wall. 152-154. So .much of this statement as regards suits against the United States, or against their property, was repeated by the present Chief Justice in the recent case of Stanley v. Schwalby, 147 U. S. 508, 512.
It necessarily follows that, unless expressly permitted by act of Congress, no injunction can be granted against the United States. United States v. McLemore, 4 How. 286; Hill v. United States, 9 How. 386 ; Case v. Terrell, 11 Wall. 199.
The United States, by successive acts of Congress, have consented to be sued upon their contracts, either in the Court of Claims, or in a Circuit or District Court of the United States. Acts of February 24, 1855, c. 122, § 1.; 10 Stat. 612; March 3, 1863, c. 92, § 2; 12 Stat. 765; Rev. Stat. § 1059; Act of March 3, 1887, c. 359, §§ 1, 2; 24 Stat. 505; United States v. Jones, 131 U. S. 1, 15, 16. The United States may accordingly be sued by a patentee for their use of his invention under a contract made with him by the United States or by their authorized officers. United States v. Burns, 12 Wall. 246; United States v. Palmer, 128 U. S. 262; United States v. Berdan Co., 156 U. S. 552.
But the. United States have not consented to be liable to suits, founded in tort, for wrongs done by their officers, though in the discharge of their official duties. Gibbons v. United States, 8 Wall. 269; Morgan v. United States, 14 Wall. 531, 534; Langford v. United States, 101 U. S. 341; United States v. Jones, 131 U. S. 1, 16, 18; German Bank v. United States, 148 U. S. 573, 579, 580; Hill v. United States, 149 U. S. 593. The United States, therefore, are not liable to a suit for an infringement of a patent, that being an action sounding in tort. Schillinger v. United States, 155 U. S. 163; United States v. Berdan Co., 156 U. S. 552.
A public officer is not personally liable on a contract, although under his own hand and seal, made by him in the line of his duty, by legal authority, and on account of the government, and enuring to its benefit, and not to his own. Hodgson v. Dexter, 1 Cranch, 345. See also Macbeath v. Haldimand, 1 T. R. 172; Unwin v. Wolseley, 1 T. R. 674; Palmer v. Hutchinson, 6 App. Cas. 619.
*18But the exemption of the United States from judicial process does not protect their officers and agents, civil or military, in time of peace, from being personally liable to an action of tort by a private person whose rights of property they have wrongfully invaded or injured, even by authority of the United States. Little v. Barreme, 2 Cranch, 169; Bates v. Clark, 95 U. S. 204. Such officers or agents, although acting under order of the United States, are therefore personally liable to be sued for their own infringement of a patent. Cammeyer v. Newton, 94 U. S. 225, 235. See also Feather v. The Queen, 6 B. & S. 257, 297; Vavasseur v. Krupp, 9 Ch. D. 351, 355, 358.
The extent to which officers or agents of the government may be restrained by injunction from doing .unlawful acts to the prejudice of private rights is illustrated by the decisions of this court regarding injunctions from the courts of the United States to officers and agents of a State, which, by the Constitution of the United States, is as exempt as the United States are from private suit. Hans v. Louisiana, 134 U. S. 1.
In a suit to which the State is neither formally nor really a party, its officers, although acting by its order and for its benefit, may be restrained by injunction, when the remedy at law is inadequate, from doing positive acts, for which they are personally and individually liable, taking or injuring the plaintiff’s property, contrary to .a plain official duty requiring no exercise of discretion, and in violation of the Constitution or laws of the United States. Osborn v. Bank of United States, 9 Wheat. 738, 868, 871; Board of Liquidation v. McComb, 92 U. S. 531, 541; Allen v. Baltimore & Ohio Railroad, 114 U. S. 311; Pennoyer v. McConnaughy, 140 U. S. 1.
But no injunction can be issued against officers of a State, to restrain or control the use of property already in the possession of the State, or money in its treasury when the suit is commenced ; or to compel the State to perform its obligations; or where the State has otherwise such an interest in the object of the suit as to be a necessary party. Louisiana v. Jumel, and Elliott v. Wiltz, 107 U. S. 711, 720-728; Cunningham v. Macon & Brunswick Railroad, 109 U. S. 446, 454-457; Hagood v. *19Sothern, 117 U. S. 52, 70; In re Ayers, 123 U. S. 443; North Carolina v. Temple, 134 U. S. 22; McGahey v. Virginia, 135 U. S. 662, 684.
In support of the decree below, much reliance was placed upon United States v. Lee, 106 U. S. 196; Stanley v. Schwalby, 147 U. S. 508; and The Virginia Coupon Cases, 114 U. S. 269.
In United States v. Lee, the decision of the court, speaking by Mr. Justice Miller, was that" the owner of land held and occupied by the United States for public uses, but under a defective title, might maintain, against the officers'in possession of the land under authority of the United States, an action of ejectment, notwithstanding the interposition of the Attorney General in behalf of the United States.
A year afterwards, Mr. Justice Miller, again delivering the opinion of the court, after mentioning a different class of cases, said: “ Another class of cases is where an individual is sued in tort for some act injurious to another in regard to person or property, to which his defence is that he has acted under the orders of the government. In these cases he is not sued as, or because he is, the officer of the government, but as an individual, and the court is not ousted of jurisdiction because he asserts authority as such officer. To make out his defence he must show that his authority was sufficient in law to protect him.” After citing several cases to this point, he added: “ To this class belongs also the recent case of United States v. Lee, 106 U. S. 196, for the action of ejectment in that case is, in its essential character, an action of trespass, with the power in the court to restore the possession to the plaintiff as part of the judgment. And the defendants Strong and Kaufman, being sued individually as trespassers, set up their authority as officers of the United States, which this court held to be unlawful, and therefore, insufficient as a defence. The judgment in that case did not conclude the United States, as the opinion carefully stated, but held the officers liable as unauthorized trespassers, and turned them out of their unlawful possession.” Cunningham v. Macon & Brunswick Railroad, 109 U. S. 446, 452.
This statement, of the decision in United States v. Lee was *20repeated in Stanley v. Schwalby, in which the point decided was that, the statute of limitations, or adverse possession, might be pleaded in defence of an action of trespass to try title against officers of the United States. 147 U. S. 508, 518.
In Cunningham v. Macon & Brunswick Railroad, above cited, a bill in equity to foreclose a second mortgage of a railroad, and to set aside as invalid a sale and conveyance of the road to the State of Georgia under a foreclosure of the first mortgage, was filed by holders of bonds secured by the second mortgage against the Governor and the Treasurer of theState, as well as against the railroad company and its directors; and was ordered to be dismissed for want of jurisdiction, because,' as was said in the opinion:• “It may be accepted as a point of departure unquestioned, that neither a State nor' the United States can be sued as defendant in any court in this country without their consent, except in the limited class of cases in which a State may be' made a party in the Supreme Court of the United States by virtue of the original jurisdiction conferred on this court by the Constitution. This-principle is conceded in all the cases; and whenever it can be clearly seen.that the State is an indispensable party to enable the court, according to the rules which govern its procedure, to grant the relief sought, it will refuse to take jurisdiction.” “ In the case now under consideration, the State of Georgia is lijn indispensable party. It is in fact the only proper defendant in the casé. No one sued has any personal-interest in the matter, or any official authority to grant the relief asked. No foreclosure suit can be sustained- without the State, because she has the legal title to the property, and the purchaser under a foreclosure decree would get no title in the absence of the State. The State is in the actual possession of. the property, and the court can deliver no possession to the purchaser. The entire interest adverse to plaintiff in this suit is the interest of the State of Georgia in the property, of which, she has both the title and possession.” 109 U. S. 451, 457.
In the cases cited by the appellee, reported under the head of The Virginia Coupon Cases, 114 U. S. 269, where a collector of taxes due to the State of Virginia refused to receive
*21coupons of the State tendered in payment of such a tax, because forbidden to do so by a statute of the State, which was unconstitutional and void as impairing the obligation of the contract made by the State with the holders of such coupons in the statute under which they were issued, the court, speaking by Mr. Justice Matthews, held that the collector was' liable to an action of detinue, or of trespass, for distraining personal property for non-payment of the tax; or, where the;, remedy at law was inadequate, might be restrained by injunction from making the distraint. Poindexter v. Greenhow, 114 U. S. 270; Chaffin v. Taylor, 114 U. S. 309; Allen v. Baltimore & Ohio Railroad, 114 U. S. 311.
But where the Circuit Court of the United States, at the suit of one who had tendered such coupons in payment of his taxes, issued an injunction against the Attorney General and ether attorneys of the State of Virginia to restrain them from bringing any action in behalf of the State to recover such taxes, and, upon their bringing such actions, committed them for contempt in disobeying the injunction, they were discharged by this court on writs of habeas corpus. Mr. Justice Matthews, again delivering its opinion, and fully reviewing the previous cases, said that from the decision in Cunningham v. Macon & Brunswick Railroad, above cited, “ the inference is, that where it is manifest, upon the face of the record, that the defendants have no individual interest in the controversy, and that the relief sought against them is only in their official capacity as representatives of the State, which alone is to be affected by the judgment or decree, the question then arising, whether the suit is not substantially a suit against the State, is one of jurisdiction; ” and added that actions had been sustained against officers acting in behalf of a State “only in those instances where the act complained o'f, considered apart from the official authority alleged as to its justification, and as the personal act of the individual defendant, constituted a violation of right for which the plaintiff was entitled to a remedy at law or in equity against the wrongdoer in his individual character; ” and that the Eleventh Amendment of the Constitution, declaring that “ the judicial power of the United *22States shall not be construed to extend to any suit in law or equity, commenced or prosecuted against one of the United States by citizens of another State, or by citizens or subjects of any foreign State,” must be held “ to cover, not only suits brought against a State by name, but those also against its officers, agents and representatives, where the State, though not named as such, is, nevertheless, the only real party against which alone in fact the relief is asked, and against which the judgment or decree effectively operates; ” and therefore concluded that the suit in which the injunction was granted was in substance and in law a suit against the State of Yirginia, and consequently the Circuit Cóurt was without jurisdiction to entertain it, the order of injunction and the commitments for contempt were null and void, and the imprisonment of the officers was without authority of law. In re Ayers, 123 U. S. 443, 489, 502, 506, 507.
When the matter of the Yirgibia coupons was last brought before this court, Mr. Justice Bradley, delivering its unanimous opinion, summed up, as the result of the previous decisions, so far as concerns the subject now under consideration, “ that no proceedings can be instituted by any holder of said bonds or coupons against the Commonwealth of Yirginia, either directly by suit against the Commonwealth by name, or indirectly against her executive officers to control them in the exercise of their official functions as agents of the State; ” but that any holder “ who tenders Such coupons in payment of taxes,' debts, dues and demands due from him to the State, and continues to hold himself ready to tender the same in payment thereof, is entitled to be free from molestation in person or goods oh account of such taxes, debts, dues or demands, and may vindicate such right in all lawful modes of redress — by -suit to recover his property, by suit against the officer to recover damages for taking it, by injunction to prevent such taking where it would be attended with irremediable injury,, or by a defence to a suit brought against him for his taxes or the other claims standing against him.” McGahey v. Virginia, 135 U. S. 662, 684. And this summary was repeated and approved in Pennoyer v. McConnaughy, 140 U. S. 1, 15.
*23It only remains to apply the principles established by the former decisions to this suit under the Patent Act of the United States.
That act not only provides that “ damages for the infringement of any patent may be recovered by action on the case,” but also provides that “ the several courts vested with jurisdiction of cases arising under the patent laws shall have power to grant injunctions, according to the course and principles of courts of equity, to prevent the violation of any right secured by patent, on such terms as the court may deem reasonable; and upon a decree being rendered in any such case for an infringement, the complainant shall be entitled to recover, in addition to the profits to be accounted for by the defendant, the damages the complainant has sustained thereby; and the court shall assess the same, or cause the same to be assessed under its direction.” Rev. Stat. §§ 4919, 4921.
This bill in equity was filed by the owner of letters patent for an improvement in caisson gates, and alleged that the defendants infringed the patent by manufacturing and using such gates. The defendants filed a plea to the whole bill, and the Attorney General in behalf of the United States filed a suggestion, the single ground of each of which was that the only caisson gate that the defendants had any relation with was not made by them, and was not used by them for their own benefit, but was made and used by the United States in a dry dock at a navy yard, and the defendants only operated and used it as officers, servants and employes of the United States. The fact so pleaded and suggested could not, consistently with the previous decisions, above cited, prevent the defendants from being held liable to the patentee for their own infringement of his patent. There was no error, therefore, in overruling the plea of the defendants and the suggestion of the Attorney General.
But the Circuit Court erred in awarding an injunctioif against the defendants.
As this court, when deciding that things manufactured under letters patent of the United States were subject to be taxed by a State like other property, said, “ The right of prop*24erty in the physical substance, which is the fruit of the discovery, is altogether distinct from the right in the discovery itself.” Patterson v. Kentucky, 97 U. S. 501, 506. Title.in the thing manufactured does not give the right- to use the patented invention; no more does the patent right in the invention give title in the thing made in violation of the patent.
In an English case, quite analogous to the case at bar, where shells, bought and owned by a foreign sovereign, were brought to England to be put on board his ships of war, the Court of Appeal held; that his agents, if they used the shells in England in infringement of an English patent, might be liable in damages to the patentee, but that the court could not restrain the delivery of the shells to the sovereign' to whom they belonged. Lord Justice Brett said, “The patent law. has nothing to do with property;” and Lord Justice Cotton expressed the same idea more fully, as follows: “ The property in articles which are made in violation of a patent is, notwithstanding the privilege of the patentee, in the infringer if he would otherwise have the property in them. The court, in a suit to restrain the infringement of a patent, does not proceed on the footing that thé defendant proved to have infringed has no property in the articles; but, assuming the property to be in him, it prevents the use of those articles, either by removing that which constitutes the infringement, or by ordering, if necessary, a destruction of the articles so as to prevent them from being used in derogation of the plaintiff’s rights, and does this as the most effectual mode of protecting the plaintiff’s rights — not on the footing that there is no property in the defendant. The court cannot proceed to give that relief, and interfere with the articles, unless it has before it the person entitled to the articles in question, and has as against this person power to adjudicate that the articles are made or used in infringement of the plaintiff’s rights.” Vavasseur v. Krupp, 9 Ch. D. 351, 358, 360.
In the present case, the caisson gate was a part of the dry dock in a navy yard of the United States, was constructed and put in place by the United States, and was the property of the *25United States, and held and used by the United . States for the public benefit. If the gate was inade in infringement of the plaintiff’s patent, that did not' prevent the title in the gate from vesting in the United States. The United States, then, had both the title and .the possession of the property. The United States could not hold or use it, except through officers and agents. Although this suit was not brought against the United States by name, but against their officers and agents only, nevertheless, so far as the bill prayed for an injunction, and for the destruction of the gate in question, the defendants had no individual interest in the controversy; the entire interest adverse to the plaintiff was the interest of the United States in property of which the United States had both the title and the possession; the United States were the only real party, against whom alone in fact the relief was asked, and against whom the decree would effectively operate; the plaintiff sought to control the defendants in their official capacity, and in the exercise of their official functions, as representatives and agents of the United States, and thereby to defeat the use by the United States of property owned and used by the United JStates for the common defence and general welfare; and therefore the United States were an. indispensable party to enable the court, according to the. rules which govern its procedure, to grant the relief sought; and the suit could not be maintained without violating the principles affirmed in the long series of decisions of this court, above cited.
There was also error in the final decree awarding profits to the plaintiff as against the defendants.
In a suit in equity for the infringement of a patent, the ground upon which profits are recovered is that they are the benefits which have accrued to the defendants from their wrongful use of the plaintiff’s invention, and for which they are liable, ex aequo et bono, to the like extent as - a trustee would be who had used the trust property for his own advantage. The defendants, in any such suit, are therefore liable to account for such profits only as have accrued to themselves from the use of the invention, and not for those *26which have accrued to another, and in.which they have no participation. Elizabeth v. Pavement Co., 97 U. S. 126, 138-140; Root v. Railway Co., 105 U. S. 189; Tilghman v. Proctor, 125 U. S. 136, 144-148; Keystone Co. v. Adams, 151 U. S. 139, 147; Coupe v. Royer, 155 U. S. 565, 583.
In the leading case of Elizabeth v. Pavement Co., a suit in equity for the infringement of a patent for an improvement in wooden pavements was brought against a city, as well as against the contractor who had laid down the pavements. It being shown that the city had made no profits from the use of the invention, but that the contractor had, this court héld that profits could be recovered against the contractor only, and not against the city. Mr. Justice Bradley, in delivering judgment, said: One thing may be affirmed with reasonable confidence, that if an infringer of a patent has realized no profit from the use of the invention, he' cannot be' called upon to respond for profits; the patentee, in such case, is left to his remedy for damages.” 97 U. S. 138.
In the case at bar, there was no evidence that the defendants themselves had made any profits whatever from the use of the plaintiff’s invention ; but the only-gains, profits and advantages, upon which the report of the master and the decree of the court were based, were those which had accrued to the United States from the saving in the cost of the gate; and the master found that no damages, in addition to such gains, profits and advantages, had been proved.
The necessary result is that, even if the validity of the patent and its infringement by the defendants- are assumed, the plaintiff, upon this record, is not entitled to an injunction, to profits, or to damages.
The finding of the master, that no damages, in addition to profits, had been proved, does not indeed necessarily imply that the plaintiff had not sustained damages, independent of any profits. But no ground for equitablé relief, by injunction, by account of profits, or otherwise, being shown, the proper, remedy of the plaintiff against the defendants for such damages is by action at law. Elizabeth v. Pavement Co., and Root v. Railway Co., above cited.
*27The question whether the United States might be liable, in a suit against them in the Court of Claims, or other court of concurrent jurisdiction, as upon a contract, for their use of the caisson gate, if an infringement of the plaintiffs patent, does not arise, and cannot be decided, in this case.
In order that the rights of- all parties interested in the controversy may be preserved, the entry in this case will be
Decree of the Circuit Court reversed, and case remanded to that court with directions to dismiss the hill, without prejudice to an action at law against the defendants, or to a suit against the United States.