The single question we reach in this opinion is whether there is federal jurisdiction under 28 U.S.C. § 1338(a) over an action by a patent licensor against his licensee for infringement, when the license agreement is shown by the complaint to be in effect and the wrongful conduct alleged is refusal to pay royalties.
A prior action between the parties for infringement of the same patent was settled by the entry of a consent decree and the execution of a license agreement authorizing defendant to make and sell heaters embodying the invention and obligating defendant to pay royalties. Defendant paid royalties under the agreement for a short time and then discontinued manufacture and sale of the models involved in the prior action and began making and selling modified structures which it claimed were not covered by the patent. When plaintiff’s demand for royalties on the modified structures was refused, it commenced this action.
In its complaint plaintiff alleged the existence of jurisdiction under 28 U.S.C. § 1338(a), plaintiff’s ownership of the patent, the consent decree, and the existence of the patent license agreement under which “defendant agreed to pay plaintiff a royalty for each heater sold by defendant which embodies the licensed invention.” The complaint continued:
“7. Notwithstanding said license agreement, defendant has refused and continues to refuse to pay plaintiff royalties on heaters sold by defendant and known as defendant’s Model HF-22 heater.
“8. The making, using, and selling by defendant of its Model HF-22 heater, and possibly others, without payment of royalties to plaintiff, constitute acts of infringement of said Letters Patent.”
Plaintiff sought an injunction against “further infringement” and “damages for infringement.”
In its answer defendant denied the allegation of jurisdiction, denied infringement, and asserted as an affirmative defense that it was “presently licensed under [the patent] and, therefore, cannot infringe said patent.”. Defendant did not' otherwise question jurisdiction and, in fact, submitted proposed findings and conclusions after trial containing a finding of jurisdiction.
The District Court heard evidence and entered judgment in favor of plaintiff, stating its reasons in a memorandum opinion in which the issue of jurisdiction, not having been raised, was not discussed.
Defendant now argues that the case does not arise under the patent laws, and that therefore jurisdiction does not exist under 28 U.S.C. § 1338(a). Even though the issue of jurisdiction" was not raised in the District Court, we have a duty to consider and determine it. Lion Mfg. Corp. v. Chicago Flexible Shaft Co.,
The beginning point for our analysis is the principle stated by Mr. Justice Holmes in American Well Works Co. v. Layne & Bowler Co.,
In a line of cases beginning with Wilson v. Sandford,
“If in that case the patentee complainant had based his action on his patent right and had sued for infringement, and by anticipation of a defense of the assignment had alleged a forfeiture by his own declaration without seeking aid of the court, jurisdiction under the patent laws would have attached, and he would have had to meet the claim by the defendant that forfeiture of the license or assignment and restoration of title could not be had except by a decree of a court, which, if sustained, would have defeated his prayer for an injunction on the merits. But when the patentee exercises his choice and bases his action on the contract and seeks remedies thereunder, he may not give the case a double aspect, so to speak, and make it a patent case conditioned on his securing equitable relief as to the contract. That is the principle settled by Wilson v. Sand-ford, and is still the law.”
In the case at bar, plaintiff alleged in its complaint the existence of a license agreement which authorized the very use of the patent of which it complained. While the conclusion of infringement was pleaded, the facts that were also pleaded showed that there was no infringement because the defendant’s use of the patent was authorized by the agreement. The complaint thus revealed that plaintiff was not entitled to claim infringement but could only enforce its rights under the still existing license agreement. United Mfg. & Serv. Co. v. Holwin Corp.,
*1074
The Court in
Luckett,
in describing the kind of allegations that would have supported jurisdiction in Wilson v. Sand-ford, included the allegation of “a forfeiture by his [the plaintiff-licensor’s] own declaration without seeking aid of the court.” (
It is perhaps anomalous that the existence of federal jurisdiction should turn on what a plaintiff chooses to include in his complaint rather than upon the facts that appear from the pleadings of both plaintiff and defendant. That, however, is sometimes the effect of the long-settled rule that the case arises under the law that creates the plaintiff’s cause of action and that federal jursidiction is neither created nor ousted by defenses pleaded by the defendant. As Judge Friendly said in a similar context, “precedents going back for more than a century teach that lesson.” (T. B. Harms Co. v. Eliscu,
It appears likely that diversity jurisdiction exists in this case. Plaintiff and defendant are organized and have their principal places of business in Indiana and Illinois, respectively. If jurisdictional amount can be alleged and proved, there will be diversity jurisdiction under 28 U.S.C. § 1332. To avoid wasting the efforts that have gone into trying and deciding the case on the merits, we are vacating the judgment and remanding the case to the District Court for a determination of whether diversity jurisdiction exists. If the District Court decides there is jurisdiction, a new notice of appeal from a new judgment will return the ease to this court for determination on the merits by the same panel, without the necessity of further briefs or oral argument.
On remand, the District Court will have authority to reconsider the form of relief granted, in light of the continuing existence of the license agreement. See United Mfg. & Serv. Co. v. Holwin Corp.,
supra,
Notes
. This is but a manifestation of the general rule of federal jurisdiction that an action does not arise under federal law if the federal question is introduced by way of defense, even though the plaintiff anticipates the defense in his initial pleading. Skelly Oil Co. v. Phillips Petroleum Co.,
.
Thiokol
held that a licensee’s claim for a declaratory judgment that a proposed new product would not infringe the licensed patents, and that,, moreover, the patents were invalid and therefore the licensee was entitled to recover amounts already paid as royalties, did not arise under the patent laws. The court, per Judge Hastie, viewed the complaint as essentially asserting a defense to a threatened state court action, which the .court assumed would be for enforcement of the license agreement and not for infringement,
*1074
and applied the rule of Public Service Comm’n v. Wycoff Co.,
