ORDER
The opinion filed in this case on September 17, 2007 is withdrawn. A new opinion is filed contemporaneously with the filing of this order.
The panel has voted unanimously to deny the petition for rehearing. Judges O’Scannlain and Callahan have voted to deny the petition for rehearing en banc. Judge Hall recommended that the petition for rehearing en banc be denied.
The full court has been advised of the petition for rehearing en banc and no active judge has requested a vote on whether to rehear the matter en banc. Fed. R.App. P. 35.
The petition for rehearing and the petition for rehearing en banc are DENIED. Subsequent petitions for rehearing and rehearing en banc may be filed.
OPINION
We must determine whether a municipal rent control ordinance survives a due process and equal protection challenge or requires payment of compensation as a government taking.
I
A
On June 5, 1984, the County of San Luis Obispo adopted a Mobilehome Rent Stabilization Ordinance (“Ordinance”) pursuant to a voter initiative.
[The Ordinance sought] to protect the owners and occupiers of mobilehomes from unreasonable rent increases, while at the same time recognizing the need of park owners to receive a suitable profit on their property with rental income sufficient to cover increases in the costs of repair, insurance, maintenance, utilities, employee services, additional amenities, and other costs of operation, and to receive a fair return on their property.
County of San Luis Obispo, Cal., Code § 25.01.010(c). The Ordinance exempted “[tenancies covered by leases or contracts which provide for more than a month-to-month tenancy, but only for the duration of such lease or contract.” Id. § 25.03.010. The Ordinance established a Mobilehome Rent Review Board (“Board”) consisting of members “not connected with the mobile-home rental housing industry for their personal gain.” Id. § 25.04.010. The Board’s powers and duties included the right “[t]o increase or decrease maximum rents upon completion of its hearings and investigations.” Id. § 25.05.010. The Ordinance prescribed a base rent at “the monthly space rent as of December 31, 1982,” allowed a “maximum monthly space rent [to] be increased no more than once a year by an increase over the then existing space *1187 rent equal to sixty percent of the cost of living increase,” and forbade owners to “demand, accept or retain a rent ... in excess of the maximum permitted by this chapter.” Id. §§ 25.06.010(a)(1), (b), (d). Upon a transfer of mobilehome ownership, the Ordinance allowed a rent increase of up to 10% of the prior monthly rent. Id. § 25.06.011. In addition, the Ordinance included a “hardship exception” so that the Board could approve rent increases above the normal maximum in the case of extraordinary expenditures and costs that would preclude “a just and reasonable return on[the] property.” Id. § 25.07.010.
B
Manufactured Home Communities, Inc. (“MHC”), now known as Equity Lifestyle Properties, Inc., is a public company. MHC created an Operating Limited Partnership (“OLP”), which has acquired several mobilehome communities and resorts from original owners in exchange for limited partnership assets. The partners of OLP, including MHC and its limited partners, receive revenue from these assets. 1
In 1997, acting on behalf of OLP, MHC purchased the Sea Oaks Manufactured Home Community in Los Osos, California (“the Park”). OLP maintains title ownership. MHC subsequently sought to impose rent increases on nine of the 126 mobilehome lots in the Park. 2
On March 26, 2002, MHC (holding itself out as the parkowner) gave notice to the Park tenants that rent in the nine lots would increase by an average 185%. The tenants protested that the Ordinance barred such rent increases, but MHC noted that they had signed standard-form 12-month rental agreements and stated that the Ordinance did not apply to such leases. See County of San Luis Obispo, Cal., Code § 25.03.010 (exempting “[tenancies covered by leases or contracts which provide for more than a month-to-month tenancy ... for the duration of such lease or contract”).
To settle the dispute over the 185% rent increases, MHC wrote the Board on March 29, 2002, asking for verification that the Ordinance did not apply the nine lots at issue. On May 22, 2002, the tenants in turn requested a hearing as to whether the increases violated the Ordinance. They explained that the previous Park owner had informed them that the leases would be subject to the Ordinance and they relied on that information in renewing their leases.
The Board accepted MHC’s representation that it was the Park owner and gave notice of hearings, which it conducted on June 3, July 15, and August 23, 2002. At the hearings, the Board allowed both sides to present witnesses and to submit limitless materials, but barred any cross-examination. The Board concluded that MHC’s “twelve-month” agreements were in fact month-to-month agreements covered by the rent control Ordinance, for they included an undefined rent term and permitted rent increases anytime upon a 90-day notice. 3 MHC appealed to the San Luis Obispo County Board of Supervisors on September 5, 2002, which affirmed the Board’s decision on October 8, 2002.
C
On January 3, 2003, MHC filed a Petition for Writ of Administrative Mandamus in the Central District of California, based on federal question and diversity jurisdic *1188 tion. See 28 U.S.C. §§ 1331, 1332, 1343(a)(3). The petition asserted federal claims under 42 U.S.C. § 1983 as well as California law claims “within the pendent and/or supplemental jurisdiction of th[e] court.” See 28 U.S.C. § 1367. The petition challenged the administrative ruling, and the Respondents’ failure “to declare their own ordinance unconstitutional under the Fifth and Fourteenth Amendments.”
MHC subsequently filed a First Amended Complaint for:
(1) Petition for Writ of Administrative Mandamus 4
(2) Violation of the Fifth Amendment of the United States Constitution (Takings Claim) 5
(3) Violation of the Fourteenth Amendment of the United States Constitution (Substantive Due Process) 6
(4) Violation of the Fourteenth Amendment to the United States Constitution (Equal Protection) 7
(5) Declaratory Relief 8
MHC sought damages and equitable relief from application of the Ordinance.
On November 9, 2004, the County moved to dismiss the MHC’s First Amended Complaint under Fed.R.Civ.P. 12(b)(1) (lack of subject matter jurisdiction) and 12(b)(6) (failure to state a claim upon which relief can be granted). The motion contended that MHC lacked standing, that its as-applied takings claims and due process claims were unripe, that its facial claims were barred by the statute of limitations, and that its other constitutional claims offered no basis for relief. In the alternative, the motion urged the court to “exercise Younger or Pullman abstention.” The district court responded with the following order: “The Court has considered Defendant’s motion to dismiss the first amended complaint, together with the moving and opposition papers. It is ordered that the motion be, and hereby is, granted. Date: February 22, 2005.” MHC now timely appeals this order.
D
Because abstention has been raised as an issue in this case, we recount related developments in state court. Three days after filing its petition in the federal district court, MHC filed a Petition for Writ of Administrative Mandamus in the California Superior Court, asserting nearly identical claims as in federal court. On November 5, 2004, the County — which had not been served with the petition until October 7 — filed a demurrer arguing that MHC lacked standing. On January 4, 2005, MHC filed a First Amended Petition, containing the same allegations as before, but explaining that MHC “controls the actions” of OLP and “has a direct, peeuni- *1189 ary interest in the amount of rent that can be charged at the property it has an interest in, including the Sea Oaks park.” On October 19, 2005, the court overruled the demurrer.
On December 7, 2005, MHC filed a Second Amended and Supplemental Complaint in the state trial court, which mirrored the claims in its First Amended Complaint previously filed in the federal district court. The state trial court held that MHC had standing and bifurcated the action as to the writ and non-writ claims. The court denied the writ on July 26, 2006, granted judgment on the pleadings for the County on the non-writ claims on November 8, 2006, and entered judgment for the County on December 8, 2006. MHC filed a state court notice of appeal on January 23, 2007. The state trial court judgment and appeal thus occurred after MHC had appealed the district court’s order granting the County’s motion to dismiss.
II
The dismissal of a federal complaint requires
de novo
review.
9
We begin with the jurisdictional issue. MHC claims standing based on its financial interest as a partner of OLP. In considering this claim, we must accept as true its assertion that MHC lost revenue when the Board forbade OLP from increasing rents by an average 185%.
See Pennell v. City of San Jose,
The government disputes MHC’s standing because OLP — not MHC — retains title ownership of the Park. But that argument is too rigid: the application of standing requirements must not be turned into a “mechanical exercise.”
Allen v. Wright,
Ill
MHC asserts two forms of takings challenges: a facial challenge to the Ordinance itself, and an as-applied challenge to the Board’s implementation of the Ordinance to the nine lots in question. The County contends that MHC, even if treated as the
*1190
current owner, may not bring a facial challenge, because MHC acquired its interest in the property after the Ordinance was enacted. The Supreme Court’s decision in
Palazzolo v. Rhode Island,
Furthermore, a takings claim must still comply with timeliness requirements. It must be filed neither too early (unripe) nor too late (barred by a statute of limitations). In
Williamson County Regional Planning Commission v. Hamilton Bank of Johnson City,
A
MHC’s as-applied challenge satisfies the first prong of the
Williamson
test based upon its first having sought a decision of the Mobilehome Rent Review Board and the subsequent affirmance by the Board of Supervisors.
See Manufactured Home Cmtys v. City of San Jose,
However, MHC has not satisfied the second requirement of the
Williamson
test, because it has not attempted to obtain relief through the state procedure designed to provide compensation for rent control losses. In a 1997 decision, the California Supreme Court established a procedure by which a party injured by a
*1191
government taking could seek compensation.
See Kavanau v. Santa Monica Rent Control Bd.,
Unless a complainant has sought relief through a
Kavanau
adjustment, he cannot file a federal complaint objecting to an uncompensated taking by the state.
See Manufactured Home Cmtys.,
MHC then seeks to avoid the rule that “a plaintiff cannot bring a section 1983 action in federal court until the state denies just compensation,”
Levald, Inc. v. City of Palm Desert,
MHC contends that the exception should apply to the
Kavanau
adjustment procedure, because
Kavanau
adjustments only provide for an increase in
future
rents, and do not require landowners to be compensated for rent lost prior to or during the course of the litigation. Although MHC admits that the
Kavanau
court addressed this concern by pointing out in
dicta
that a landlord could “seek[ ] a stay of that regulation during litigation,”
Kavanau,
We are not impressed by this single declaration and have considered the state decisions on the issue more closely. “The futility exception is narrow, and mere uncertainty does not establish futility.”
Manufactured Home Cmtys.,
California law requires that
Kavanau
adjustments include losses incurred during the review process. The California Supreme Court explained this requirement four years after
Kavanau,
expressly clarifying that “the substantial legal and administrative costs attributable to the rent review process ... should be properly included as expenses when calculating the proper rent readjustment [under
Kavanau].”
Gol
land v. City of Clovis,
California rent control authorities tasked with making Kavanau adjustments have applied the rulings of the California Supreme Court to address potential revenue lost during litigation. Although we have found no published case in which a California court granted a stay pending a Kava-nau adjustment, rent control authorities have used alternative means to ensure that Kavanau adjustments allow property owners to recoup compensable losses incurred during litigation. For example, in one ruling, a city council applying Kavanau overturned a rent control board decision that denied a rent increase; the city council then ordered that the rents be adjusted not only to avoid future losses but to compensate for revenue opportunities lost during the review process. See City Council of the City of Concord Mobilehome Rent Review Board, Res. No. 05-56, at 7 (Aug. 2, 2005). In another decision, a local rent stabilization board granted rent increases to compensate for losses incurred due to the application of a rent decision that was later overturned. See Carpintería Mobile Home Park Rent Stabilization Board, Res. No. 5031, at 5 (Dec. 6, 2006).
These alternative approaches enable parties to seek adequate compensation from the state. We reject MHC’s argument that “a Kavanau adjustment is not an effective remedy unless the park owner successfully stays enforcement of the applicable rent control ordinance pending the outcome of the litigation.” 14 Although a stay might be useful to avoid losses, retrospective compensation also ensures that a property owner does not suffer from unwarranted revenue losses incurred during litigation. We will not second-guess the specific procedures California has chosen to use, so long as the methods provide just compensation.
We thus conclude that California’s creation and implementation of the
Kavanau
adjustment process provides “an adequate procedure for seeking just compensation,[and] the property owner cannot claim a violation of the Just Compensation Clause until it has used the procedure and been denied just compensation.”
Williamson,
B
The futility analysis differs with respect to MHC’s facial takings claim.
*1193 l
Following our precedent in this area,
Carson Harbor Village, Ltd. v. City of Carson,
2
However, under
Carson Harbor,
MHC’s facial takings claim fails for lack of standing because the injury is treated as having occurred to the previous landowner.
15
See Carson Harbor,
IV
We turn next to the district court’s dismissal of MHC’s due process and equal protection claims. 16
A
MHC’s First Amended Complaint asserted a violation of substantive due process on the grounds that the application of the Ordinance to MHC bore no rational relationship to any legitimate state purpose and served the sole purpose of transferring the value of MHC’s property to a select private group of tenants. This argument challenges the foundation of the *1194 rent control law and would, if accepted, require its invalidation. 17
The Supreme Court and this Circuit have upheld rent control laws as rationally related to a
legitimate public purpose.
In
Pennell,
The Ordinance challenged by MHC includes a paragraph describing its purpose, which is to “protect the owners and occupiers of mobilehomes from unreasonable rent increases, while at the same time recognizing the need of park owners to receive a suitable profit.” County of San Luis Obispo, Cal., Code § 25.01.010(c). Pennell makes clear that such an ordinance is rationally related to a legitimate public purpose, a point we underscored in Carson Harbor Village:
A generally applicable rent-control ordinance will survive a substantive due process challenge if it is “designed to accomplish an objective within the government’s police power, and if a rational relationship existed between the provisions and the purpose of the ordinances.” This deferential inquiry does not focus on the ultimate effectiveness of the law, but on whether the enacting body could have rationally believed at the time of enactment that the law would promote its objective.
Carson Harbor Village Ltd. v. City of Carson,
*1195 B
In its equal protection challenge, MHC claims that the Ordinance was created unlawfully to discriminate against a class of persons in a manner “unrelated to any legitimate governmental interest.” MHC claims that the Ordinance singled out mobilehome owners “from property owners of all other types of housing in the San Luis Obispo County to bear the burden and expense of providing economic benefits to tenants” and allowed “[a]ll other property owners ... to adjust rents to market upon a change of tenancy.”
This equal protection challenge must be considered under rational basis review because mobilehome park owners are not a suspect class.
See Watson v. Maryland,
V
Finally, we address the petition for a writ of administrative mandamus filed by MHC in the Central District of California. 20 In its petition, MHC asserted that a writ was warranted under CaLCode Civ. P. § 1094.5 because the Rent Review Board and Board of Supervisors acted “in excess of their jurisdiction” and in violation of MHC’s “due process rights under the state and federal constitutions.” MHC specifically challenged the adequacy of the Board’s notice of its hearings, its refusal to allow cross-examination, and its consideration of hearsay.
MHC contends that federal law required issuance of the writ, because the Board provided inadequate notice of its administrative proceedings and because the Board considered hearsay, depriving MHC of its alleged right to confront the witnesses.
However, the district court’s order did not state whether the petition failed to state a ground for relief.
See
Fed.R.Civ.P. 12(b)(6) (allowing dismissal
*1196
for “failure to state a claim upon which relief can be granted”). Indeed, the district court did not reveal the grounds upon which it based its dismissal.
See supra
page 1188. “In the absence of grounds upon which the order rests, we are required to affirm it if it may be sustained upon any ground.”
Lemm v. N. Cal. Nat’l Bank,
Under
Younger v. Harris,
MHC has made “no showing of bad faith, harassment, or some other extraordinary circumstance.” Id. However, MHC asserts that Younger abstention would not justify dismissal, because the state action was filed three days after MHC filed its district court complaint. We do not accept this argument. The Supreme Court has made clear that a filing date is not dispositive:
[No] case in this Court has held that for Younger v. Harris to apply, the state criminal proceedings must be pending on the day the federal case is filed. Indeed, the issue has been left open; and we now hold that where state criminal proceedings are begun against the federal plaintiffs after the federal complaint is filed but before any proceedings of substance on the merits have taken place in the federal court, the principles of Younger v. Harris should apply in full force.
Hicks v. Miranda,
The district court dismissed the complaint without discussing the merits of MHC’s claims. Where no “proceedings of substance on the merits have taken place in the federal court, the principles of
Younger v. Harris ...
apply in full force.”
Hicks,
VI
In sum, we conclude that MHC has standing based on its financial interest in the Park. However, we affirm the district court’s order dismissing its complaint. The complaint contained no claim upon which relief could be granted, because its as-applied takings claim was unripe, its facial claims failed to satisfy the applicable statute of limitations, and its due process and equal protection claims lacked merit under the United States Constitution. Moreover, the principles of abstention justify the district court’s dismissal of the petition for a writ of administrative mandamus, and we decline to disturb the state trial court’s subsequent decision denying the writ.
The district court’s order dismissing MHC’s First Amended Complaint is AFFIRMED.
Notes
. MHC is also the OLP's general partner.
. The tenants of the nine lots are the "Real Parties in Interest.”
.The Board noted the fact that the prior and current resident managers of the nine lots had treated the 12-month agreements as being subject to the Ordinance.
. MHC sought the writ under Cal.Code Civ. P. § 1094.5, challenging the Board for acting in excess of its jurisdiction, failing to give a fair hearing due to lack of adequate notice, harboring bias, failing to follow formal rules of evidence, and lacking evidentiary support for its ruling.
. This claim attacked the Board’s decision and the Ordinance for depriving MHC of the fair market value of its land without reasonable relation to a legitimate public purpose.
. MHC asserted substantive due process as an alternative ground for discerning a constitutional violation.
. MHC asserted that it had been singled out for regulation.
. The fifth claim sought declaratory relief for the reasons stated in the prior four claims, alleging that the Ordinance constituted a regulatory taking without substantially advancing any legitimate public purpose, effected a private taking, violated MHC's substantive due process rights, and denied MHC equal protection.
.
See Carson Harbor Village, Ltd. v. City of Carson,
. The jurisdictional question of standing precedes, and does not require, analysis of the merits. Standing “in no way depends on the merits of the [] contention that particular conduct is illegal.”
Warth,
. However, the premise of
Carson Harbor,
that the purchase price reflects the allegedly unconstitutional taking, was expressly rejected by
Palazzolo:
"A law does not become a background principle for subsequent owners by enactment itself.’’
. This requirement applies only to as-applied challenges.
Hacienda Valley Mobile v. Morgan Hill,
. This requirement must be satisfied in order to bring either an as-applied or a facial challenge.
. However, we express some concern that the state’s procedure may place an unjust burden upon
future
tenants in order to ensure the just compensation of the landlord, by shifting the financial responsibilities of earlier tenants to later ones.
See Carson Harbor Village,
. Therefore, we do not have jurisdiction over this portion of MHC’s claim. As stated above, because MHC did not directly address whether
Palazzolo,
Under our circuit law, the statute of limitations on a facial takings claim runs from the date when the statute is enacted.
See De Anza Props. X, Ltd. v. County of Santa Cruz,
. MHC presented this claim to the district court "solely in the alternative, in the event that ... MHC's Second Claim for Relief is not cognizable as a matter of law under the Fifth Amendment’s Takings Clause.”
. The parties dispute whether takings jurisprudence governs this challenge, or whether its merits turn only upon our due process doctrine. The Supreme Court's decision in
Lingle v. Chevron U.S.A., Inc.,
. More generally, the Supreme Court has upheld regulations that fix the prices or rents in certain industries but not others.
See, e.g., FCC
v.
Fla. Power Corp.,
. MHC argues that
Lingle
entitles it to a remand in order to develop other claims that would constitute takings challenges rather than due process ones. For this proposition, it relies upon the
Lingle
Court’s comment that "we reaffirm that a plaintiff seeking to challenge a government regulation as an uncompensated taking of private property may proceed under one of the other theories discussed above — by alleging a 'physical' taking, a
Lucas
[v.
South Carolina Coastal Council,
. MHC filed this claim first as a petition, and then as one of five causes of action in its First Amended Complaint.
.
Younger
dealt with ongoing state criminal procéedings, but the same abstention principle was extended to civil actions in
Middlesex County Ethics Comm. v. Garden State Bar Assn,
. This quote refers to criminal proceedings. As noted above, the Court has since applied Younger principles to non-criminal judicial proceedings as well.
.MHC then argues that even if
Younger
abstention applies, this proceeding should at most be
stayed.
For this proposition, MHC cites
Gilbertson v. Albright,
We conclude that Younger principles apply to actions at law as well as for injunctive or declaratory relief because a determination that the federal plaintiff's constitutional rights have been violated would have the same practical effect as a declaration or injunction on pending state proceedings. However, federal courts should not dismiss actions where damages are at issue; rather, *1197 damages actions should be stayed until the state proceedings are completed.
Id. at 968. Gilbertson did not require a stay for damages claims that would be dismissed as untimely or meritless on the pleadings, such as MHC's takings, due process, and equal protection claims. Nor did Gilbertson require a stay with respect to the petition for a writ of administrative mandamus, because that did not constitute a “damages action.''
. Having thus concluded that abstention would apply, we do not reach the County's alternative argument that Pullman abstention would apply as well.
