We are called upon to consider, yet again, a takings challenge to mobile home rent control laws.
I
Levald, Inc. owns a mobile home park in the city of Palm Desert, California. Residents of the park own their mobile homes but rent pads from Levald. Levald provides private streets and common areas, along with other lesser amenities. The vast majority of mobile homes are never moved once they are placed in the park.
The park is subject to California’s Mobile-home Residency Law, California Civil Code § 798 et seq. (“the residency law”). The impetus for the residency law was the legislature’s finding that “because of the high cost of moving mobilehomes, the potential for damage resulting therefrom, the requirements relating to the installation of mobile-homes, and the cost of landscaping or lot preparation, it is necessary that the owners of mobilehomes occupied within mobilehome parks be provided with the unique protection from actual or constructive eviction afforded by provisions of this chapter.” Cal.Civ.Code § 798.55(a). The residency law severely limits the ability of the mobile home park owner to terminate the tenancy of the mobile home owner, and provides that the park owner may not require the removal of a mobile home when it is sold. Moreover, the residency law prohibits the park owner from charging a transfer fee for the sale, and the park owner may not disapprove a purchaser as *684 long as the purchaser has the ability to pay rent.
In 1985, Palm Desert passed a vacancy control ordinance to supplement an already-existing rent control ordinance. The vacancy control ordinance prohibited mobile home park owners from increasing the rent for a mobile home space when that space became vacant or the ownership of a mobile home was transferred. In 1986, Palm Desert repealed the rent control and vacancy control ordinances and reenacted their provisions in Palm Desert Ordinance No. 456. Under the ordinance, a park owner may apply for a hardship rental increase through various procedures outlined in the city’s Rent Review Board Guidelines.
According to Levald, the combined effect of the residency laws and the ordinance (“the statutory scheme”) is that a property interest is transferred from the landlord to its tenants: the right perpetually to occupy park spaces at below-market rents. Levald asserts the right has a market value that park tenants are able to capture when they sell their mobile homes to third parties. The premium that the new buyer must pay is equal to the difference between the rent controlled price and the fair market price over the expected life of the statutоry scheme, discounted to present value. Thus, the argument goes, incoming tenants do not get the benefit of the lower rents since the lower rents are offset by the premium.
In 1989, Levald filed suit against Palm Desert. The complaint alleges violations of the Takings and Due Process Clauses of the United States Constitution, along with the California Constitution. On September 9, 1991, the district court dismissed the complaint, concluding that the takings claims were barred by the statute of limitations and that Levald had failed to state a claim for a violation of the substantive due process clause. The district court declined to exercise supplemental jurisdiction over the pendent state law claims. Levаld appeals. 1
II
The Takings Clause of the Fifth Amendment provides: “[N]or shall property be taken for public use, without just compensation.” Takings claims are divided into two classes: permanent physical occupation claims and regulatory takings.
Compare, e.g., Loretto v. Teleprompter Manhattan CATV Corp.,
A
In
Hall v. City of Santa Barbara,
Levald relied on
Hall
before the district court, arguing that the government had taken its property through a permanent physical occupation. After the district court reached its decision, however, the Supreme Court overruled
Hall
in
Yee v. City of Escondido, - U.S. -,
Because the Supreme Court extinguished any chance that Levald could prevail on a physical occupation theory, Levald seeks to argue for the first time on appeal that the statutory scheme effects a regulatory taking. Palm Desert argues that since Levald did not raise this argument to the district court, it is barred from raising it on appeal.
We are persuaded that Levald may make its regulatory takings argument on appeal. The Supreme Court’s opinion in
Yee
is instructive. Although the
Yee
Court did not consider the merits of the regulatory takings claim because it was outside the scope of the grant of certiorari, the Court “rejeet[ed] the respondent’s contention that the regulatory taking argument is not properly before [the Court] because it was not made below.”
Id. - U.S. at -,
Once a federal claim is properly presented, a party can make any argument in support of that claim; parties are not limited to the precise arguments they made below. Petitioners’ arguments that the ordinance constitutes a taking in two different ways, by physical оccupation and by regulation, are not separate claims. They are rather separate arguments in support of a single claim-that the ordinance effects an unconstitutional taking. Having raised a taking claim [below], therefore, petitioners could have formulated any argument they liked in support of that claim here.
Id. (emphasis in original) (citations omitted). Following that reasoning, we conclude that Levald’s regulatory taking claim is not fore *686 closed by Fee’s rejection of the physical occupation theory.
B
In addition to the division into physical occupation and regulatory takings, takings claims are divided into “facial” and “as-applied” challenges. A facial challenge involves “a claim that the mere enactment of a statute constitutes a taking,” while an as-applied challenge involves “a claim that the particular impact of a government action on a specific piece of property requires the payment of just compensation.”
Keystone Bituminous Coal Ass’n v. DeBenedictis,
1
a
We must first consider whether Le-vald’s facial challenge is ripe.
Williamson County Regional Planning Commission v. Hamilton Bank,
“The second, and independent, hurdle established by
Williamson County
requires plaintiffs to ‘seek compensation through the procedures the State has provided for doing so’ before turning to the federal courts.”
Sinaloa,
b
We next consider whether, as the district court concluded, Levald’s facial clаim is barred by the statute of limitations. Levald argues (1) the district court erred in raising the statute of limitations issue sua sponte, (2) the law of the case is that the facial challenge is timely, and (3) in any event, the statute of limitations does not bar the facial claim.
Levald filed its complaint on August 23, 1989. Palm Desert moved to dismiss the complaint as, among other things, untimely under the statute of limitations. Judge Letts denied the motion. Palm Desert then filed its answer, pleading the statute of limitations as an affirmative defense. The case was transferred, ultimately ending up before Judge Waters. Palm Desert then brought a motion to dismiss the takings claim on ripeness grounds and to dismiss the due process claim for failure to state а claim. Although Palm Desert did not raise the statute of limitations defense in that motion, the district court rested its dismissal of the takings claim on that ground.
The district court properly entertained the statute of limitations issue. Although we have never considered this precise question in the statute of limitations context, we have held that a sua sponte dismissal was
*687
not erroneous in an analogous context. In
Costlow v. Weeks,
Other circuits have addressed the precise question at issue here and have concluded that the district court may sua sponte dismiss a complaint as untimely so long as the defendant has not waived the defense.
See, e.g., Leonhard v. United States,
Here, Palm Desert pleaded the statute of limitations in its answer, and thus preserved the defense. Moreover, Levald had the opportunity to present argument on the statute of limitations question before the district court and on appeal. Thus, we are not troubled by the fact that Palm Desert had not raised the defense in the particular motion before the district court.
Levald’s argument regarding the law of the case is also without merit. Regardless whether it was appropriate or prudent for Judge Waters to revisit the statute of limitations question when Judge Letts had already ruled on it, there is nothing that insulates either judge’s conclusion from appellate review. We therefore consider the merits of the statute of limitations argument.
To determine when the statute of limitations period begins to run, we first must determine when the cause of action accrued. Determining when the cause of action accrues is merely the corollary to the ripeness inquiry. A plaintiff asserting a facial challenge contends that the passage of the ordinance effects a taking. However, “[t]he Fifth Amendment does not proscribe the taking of property; it proscribes taking
without just compensation.” Williamson,
As our ripeness cases teach, there is an exception to this general rule. We do not require a claimant to seek relief in state court as a prerequisite to filing a section 1983 claim in federal court when it would be futile to do so.
See, e.g., Austin v. City and County of Honolulu,
This is consistent with our decision in
De Anza Properties X, Ltd. v. County of Santa Cruz,
Here, аs Levald itself recognizes, it would have been futile to seek compensation in state court where the ordinance was passed because California law provided no remedy for regulatory takings at that time.
Supra
Part II.B.1.a;
see Schnuck v. City of Santa Monica,
Levald argues that because in other contexts the Supreme Court has allowed challenges to statutes long after they were enacted, Levald should be allowed to bring an action challenging the enactment of a statute as a taking -without just compensation at any point. This argument misapprehends the differences between a statute that effects a taking and a statute that inflicts some other kind of harm. In other contexts, the harm inflicted by the statute is continuing, or does not occur until the statute is enforced-in other words, until it is applied. In the takings context, the basis of a facial challenge is that the very enactment of the statute has reducеd the value of the property or has effected a transfer of a property interest. This is a single harm, measurable and com-pensable when the statute is passed. Thus, it is not inconsistent to say that different rules adhere in the facial takings context and other contexts.
Levald further argues that the cause of action in this case did not accrue until property values in Palm Desert increased dramatically years following enactment. This argument fails to acknowledge the distinction between a facial and an as-applied challenge: while the rising property values may be relevant to an as-applied challenge, they are not relevant tо a claim that the very enactment of the statute effected a taking.
Levald finally contends that the statute of limitations is inapplicable to its claim for declaratory judgment. This argument is meritless. As the First Circuit held in a similar takings case:
To prevent plaintiffs from making a mockery of the statute of limitations by the simple expedient of creative labelling-styling an action as one for declaratory relief rather than for damages-courts must necessarily focus upon the substance of an asserted claim as opposed to its form. It is settled, therefore, that where legal and equitable claims coexist, equitable remedies will be withheld if an applicable statutе of limitations bars the concurrent legal remedy.
Gilbert v. City of Cambridge,
2
In addition to its facial challenge, Levald asserts on appeal that it has stated an as-applied takings claim. The nature of the as-applied challenge, however, is not clear; neither the briefs nor the complaint spells out precisely how Levald believes the application of the statute has effected a taking. The gravamen of Levald’s complaint is that the statutory scheme does not substantially advance its stated purpose because most tenants-those other than the incumbents-will pay a premium equal to the expected difference between the rent controlled price and the market price discounted to present value. Future tenants thus will not pay less than market value for housing. Thus, the argument goes, insofar as the purpose of the statute is to control spiraling housing costs for future tenants, the statutory scheme does not substantially advance its purpose. The statute operates solely as a transfer of wealth from the landlord to the existing tenant. That argument, however, is relevant only to a facial, not an as-applied, regulatory challenge. It is not a particular application of the statute that gives rise to the premium; the premium arises solely from the existence of the statute itself. 2 Given that the existence of the premium does not give rise to an as-applied challenge, it seems that an as-applied challenge would have to focus on the reasonableness of the return on Levald’s investment-in other words whether the allowable rent increases are large enough-and not on the “transfer” of the premium. Such a claim is not clearly stated in Levald’s original complaint, nor has Levald clearly stated any other bаsis for an as-applied challenge in this case. 3
Despite Levald’s failure to articulate clearly the basis for its as-applied challenge, we will assume arguendo for purposes of this appeal that the complaint can be construed to state an as-applied claim. We must conclude, however, that Levald has not satisfied the second ripeness requirement. Levald has not sought compensation in state court, nor has it shown that “the state courts [have] established] that landowners may not obtain just compensation through an inverse condemnation action under any circumstances.”
Austin,
Levald contends that notwithstanding the Supreme Court’s decision in
First Evangelical,
it would be futile to seek relief in California courts because the “California courts defy the United States Supreme Court.” We rejected this very argument in
Schnuck,
At the time Levald filed suit, California courts refused to follow Hall v. City of Santa *690 Barbara, thus rendering it futile to seek compensation on a physical occupation theory in state court. However, at the time Levald filed suit, California courts did recognize regulatory takings-Levald’s only viable theory. Levald is obliged to seek compensation in state court before it can seek relief under section 1983 on an as-applied takings theory.
In so holding, we in no way mean to suggest that the doors to the federal courthouse will remain permanently closed to Levald or to other litigants in Levald’s position. Rather, if Levald cannot obtain relief through the state procedures available to it, Levald will have the right to a federal determination of whether the ordinance, as applied to it, “unjustly imposes a burden on [Levald] that should ‘be compensated by the government, rather than remaining] disproportionately concentrated on a few persons.’ ” Yee, - U.S. at -,
Ill
A
Levald argues that the district court improperly dismissed its substantive due process claim.
In reviewing economic legislation on substantive due process grounds, we give great deference to the judgment of the legislature. “[Ordinances survive a substantive due process challenge if they were
designed to
accomplish an objective within the government’s police power, and if a rational relationship existed between the provisions and purpose of the ordinances.”
Boone v. Redevelopment Agency of City of San Jose,
Here, the stated purposes of the ordinance were to alleviate hardship created by rapidly escalating rents; to protect owners’ investments in their mobile homes; to equalize the bargaining position of park owners and tenants; and to protect residents from unconscionable and coercive changes in rental rates. These purposes are similar to those advanced in support of other rent control ordinances; the Supreme Court has held that these goals are legitimate.
See Pennell v. City of San Jose,
Moreover, a rational legislator could have believed that the rent control ordinance would further the stated goals, at least insofar as the purpose is to protect existing tenants. For example, a rational legislator could have believed that the unfettered right of a park owner to raise the rent on a space when ownership of a mobile home was transferred might make it difficult for a mobile home owner to sell. The legislator thus could have believed that the ordinance protects owners’ investments in their units. .It may be true that in operation the ordinance does nothing more than take “money from the landlord and put[ ] it into the pocket of a tenant who no longer resides at the park.”
Sierra Lake Reserve v. City of Rocklin,
*691 B
Levald next argues that its motion for leave to amend was improperly denied.
After determining that the ordinance on its face met the rational relation test, the district court in its September 9, 1991, order stated the following:
The substantive due process claim as written in the complaint constitutes only facial challenges to the Ordinance. As such, it is dismissed without prejudice because the plaintiff might be able to state a claim for violation of due process as applied, if, for example, it alleges that it had applied for an increase under the Ordinance and was not given an amount constituting a fan-amount of its investment.
Final judgment was entered on all claims on Septembеr 12,1991. Levald moved for clarification of this order, requesting a due date for filing an amended complaint. On October 8, 1991, the district court denied the motion without comment and refused to allow Levald to file an amended complaint.
1
As a preliminary matter, we must determine whether this court has jurisdiction to consider the denial of leave to amend. 5 After the district court denied the motion, Levald filed a notice of appeal indicating that it was appealing the September 9th order. Levald did not indicate in the notice of appeal that it also intended to appeal the denial of leave to amend.
Federal Rule of Appellate Procedurе 3(c) provides that “[t]he notice of appeal shall ... designate the judgment, order or part thereof appealed from.”
While some circuits construe Rule 3(c) strictly, this circuit has held that “a mistake in designating the judgment appealed from should not bar appeal so long as the intent to appeal a specific judgment can be fairly inferred and the appellee is not prejudiced by the mistake.” In determining whether “intent” and “prejudice” are present, we apply a two-part test: first, whether the affected party had notice of the issue on appeal; and second, whether the affected party had an opportunity to fully brief the issue.
Lynn v. Sheet Metal Workers’ Int’l Ass’n,
2
A district court’s denial of plaintiffs request to amend its complaint pursuant to Federal Rule of Civil Procedure 15(a) is reviewed for abuse of discretion.
Zenith Radio Corp. v. Hazeltine Research, Inc.,
Here, the district court gave no reason for denying Levald leave to amend the complaint. Nor is the reason for the denial apparent from the record.
See DCD Programs Ltd. v. Leighton,
[27] The Ordinance as applied to Le-vald deprives Levald of property without due process of law.
[28] By the Rent Review Board’s enforcement policy of the Ordinance: Levald is not able to receive a fair return on the value of Levald’s property or on its capital improvements. The value of Levald’s invеstment does not even keep pace with inflation. 6
Even though the amended version of the complaint seemed to comply with the direction provided by the court, the court refused to grant leave to amend. Since the district court did not provide an explanation for its refusal to allow Levald to amend its complaint and since its reasons are not apparent from the record, we conclude that the district court abused its discretion in failing to explain its reasons for denying leave to amend the complaint. We thus remand for explanation.
IV
Levald argues that the district court erred in declining to exercise supplemental jurisdiction over its state law claims.
28 U.S.C. § 1367(c) provides:
The district courts may decline to exercise supplemental jurisdiction over a claim ... if—
(3) the district court has dismissed all claims over which it has original jurisdiction. ...
Here, the district court properly exercised its discretion under section 1367(c)(3) and de-dined to retain the pendent state claims after it dismissed all of the other claims in the complaint.
V
AFFIRMED in part, REVERSED and REMANDED in part. Palm Desert is awarded costs on appeal.
Notes
. Palm Desert's motion to strike from Levald’s brief factual allegations not in the record below is granted. The amended complaint that was lodged with, but not accepted for filing by, the district court is not part of the record on appeal and we thus do not consider factual allegations that were presented to the district court only in it.
See United States v. Sanchez-Lopez,
. The size of the premium will obviously fluctuate. However, Levald’s claim does not focus on the size of the premium; rather, it is the existence of the transfer that forms the basis of Levald’s claim.
. We emphasize that we do not hold that it would be impossible for a litigant to make such an argument. We merely note that Levald has not spelled out the nature of an as-applied claim.
. While California did not recognize a remedy for regulatory takings before 1987, any as-applied challenge that accrued before the availability of the remedy in 1987 would be untimely under the one year statute of limitations for § 1983 actions.
Schnuck v. City of Santa Monica,
. Although Palm Desert does not raise this argument, we must raise issues concerning our jurisdiction sua sponte.
. Although the amended complaint is not part of the record as defined by Fed.R.App.P. 10(a), we consider the contents of it for the limited purpose of determining whether the district court abused its discretion in failing to allow Levald to file the complaint.
See DCD Programs Ltd. v. Leighton,
