Nano Maldonado appeals the district court’s dismissal of his action under 42 U.S.C. § 1983, which raises several First Amendment challenges to California’s Outdoor Advertising Act. The district court held that, insofar as Maldonado’s constitutional claims were ripe for review, it lacked jurisdiction to review them under the Rooker-Feldman doctrine. The district court also held that some of Maldonado’s challenges were precluded under California law because of Maldonado’s failure to raise the claims in an earlier state proceeding. Based on these findings, the district court granted the defendant’s motion to dismiss. Maldonado brought this timely appeal. We have jurisdiction pursuant to 28 U.S.C. § 1291, and we reverse.
I. Background and Procedural History
This case is the latest chapter in a long-running dispute between Maldonado and the California Department of Transportation (“Caltrans”). 1 Since 1991, Maldonado has owned a commercial building adjacent to U.S. Highway 101 in Redwood City, California, as well as a double-sided billboard that is mounted on the roof of the building. Caltrans is responsible for enforcing California’s Outdoor Advertising Act (“COAA” or “the Act”), Cal. Bus. & Prof.Code §§ 5200-5486 (West 2008), which generally regulates advertising displays that are visible from and are placed near interstate and primary highways in California. See Cal. Bus. & Prof.Code § 5271.
In 1993, Maldonado applied to Caltrans for a permit to use his Redwood City billboard for off-premises advertising. The application was denied because Maldonado’s billboard stands along a segment of Highway 101 classified as a “landscaped freeway.” COAA prohibits billboard advertisements along landscaped freeways unless the advertisement is for products or services offered on the premises. See Cal. Bus. & Prof.Code §§ 5440, 5442. 2 Since the denial of the permit, Maldonado has been attempting to get around the restrictions in COAA. In 1996, Maldonado was cited by Caltrans for posting off-premises advertisements on the billboard. Maldonado challenged the citation administratively, contending that the advertisements at issue comported with COAA because the businesses involved had also leased space in the building. The administrative board rejected Maldonado’s contentions.
Because Maldonado persisted in his off-premises advertising, Caltrans brought a state nuisance suit against him in July 1998. In his answer, Maldonado raised a number of defenses under state law, but both sides agree that he did not raise any arguments regarding the constitutionality of the Act. After a bench trial, the state trial court entered judgment against Maldonado including a permanent injunction generally restricting his ability to post further advertisements on his billboard. Maldonado’s appeals to California’s appellate courts were rejected.
See People ex rel. Dep’t of Transp. v. Maldonado,
Despite the state court rulings, Maldonado continued to test the advertising restrictions in the Act. He has twice been *949 found in contempt of the state court injunction. Shortly before filing the complaint in this case, he posted a sign — which he describes as “political/religious”- — which includes the messages “IN GOD WE TRUST”; “WE PRAY FOR WORLD PEACE”; and “HELP STOP TERRORISM.” The sign also lists the phone numbers for the San Mateo County Sheriffs Department, the F.B.I. and the Red Cross, and also adds the message “Available for on site use” and a phone number. On the other side of the billboard, Maldonado posted a sign from the non-profit group Habitat for Humanity.
On July 2, 2000, Maldonado filed the instant action in the District Court for the Northern District of California. Maldonado’s complaint alleged that the Act violated the First Amendment on its face and as it had been applied to him and his various advertisements. Maldonado sought a permanent injunction restraining enforcement of the Act, including any attempts by Cal-trans to “enforce any injunction based upon” the Act.
Caltrans moved to dismiss the case on various grounds and the district court granted the motion. The district court concluded that Maldonado lacked standing to challenge the provisions of the Act dealing with permits and scenic highways, a conclusion that Maldonado does not challenge in this appeal. The district court also found that Maldonado’s constitutional challenge on the prohibition of “off-premises” commercial advertising was barred by claim preclusion. Finally, the district court found that, to the extent they were ripe for review, all of Maldonado’s claims were barred by the Rooker-Feldman doctrine.
Maldonado filed a timely notice of appeal.
II. Standard of Review
We review a district court’s dismissal of an action de novo, whether the dismissal is based on claim preclusion, ripeness or the
Rooker-Feldman
doctrine.
Stewart v. U.S. Bancorp,
III. Discussion
A. Rooker-Feldman Doctrine
The district court found that all of Maldonado’s challenges to COAA were barred by the
Rooker-Feldman
doctrine.
3
The basic premise of
Rooker-Feldman
is that “a federal district court does not have subject matter jurisdiction.to hear a direct appeal from the final judgment of a state court.”
Noel v. Hall,
We recently recognized that, while the basic premise of the
Rooker-Feldman
doctrine is relatively simple, it has not been applied consistently in the lower federal courts.
Noel,
[I]f a federal plaintiff asserts as a legal wrong an allegedly erroneous decision by a state court, and seeks relief from a state court judgment based on that decision, Rooker-Feldman bars subject matter jurisdiction in federal district court. If, on the other hand, a federal plaintiff asserts as a legal wrong an allegedly illegal act or omission by an adverse party, Rooker-Feldman does not bar jurisdiction.
Id. at 1164. We further noted that even if a federal suit was not barred by Rooker-Feldman, it might nonetheless be claim-precluded under res judicata principles. Id. We cautioned, however, that the issue of claim preclusion is distinct from the Rooker-Feldman question. Id.
When we apply the
Noel
formulation of the
Rooker-Feldman
doctrine to the facts of this case, it becomes clear that the doctrine does not deprive the district court of jurisdiction over any of Maldonado’s claims. The legal wrong that Maldonado asserts in this action is not an erroneous decision by the state court in the nuisance suit brought against Maldonado by Caltrans, but the continued enforcement by Caltrans of a statute Maldonado asserts is unconstitutional. In other words, Maldonado asserts as a legal wrong “an allegedly illegal act ... by an adverse party.”
Noel,
The district court relied on a passage in
Fontana Empire Center, LLC v. City of Fontana,
[t]he premise for the operation of the “inextricably intertwined” test ... is that the federal plaintiff is seeking to bring a forbidden de facto appeal. The federal suit is not a forbidden appeal because it is “inextricably intertwined” with something. Rather, it is simply a forbidden de facto appeal. Only when there is already a de facto appeal in federal court does the “inextricably intertwined” test come into play: Once a federal plaintiff seeks to bring a forbidden de facto appeal, as in Feldman, the federal plaintiff may not seek to litigate an issue that is “inextricably intertwined” with the state judicial decision from which the forbidden de facto appeal is brought.
Noel,
Our conclusion remains the same even though Maldonado’s complaint seeks relief from the injunction entered by the state court. In a recent decision we made clear that, even when a federal plaintiff is expressly seeking to set aside a state court judgment,
Rooker-Feldman
may not apply.
See Kougasian v. TMSL, Inc.,
B. Claim Preclusion
The district court found that some of Maldonado’s constitutional challenges to COAA were barred by claim preclusion because he had failed to raise them in the earlier state nuisance action. 28 U.S.C. § 1738 generally requires federal courts to give state court judgments the same res judicata effect that they would be given by another court of that state.
Migra v. Warren City Sch. Dist. Bd. of Ed.,
1. Claim Preclusion Under California’s Compulsory Cross-Complaint Statute
California’s compulsory cross-complaint statute provides that, except for some situations not relevant here,
if a party against whom a complaint has been filed and served fails to allege in a cross-complaint any related cause of action which (at the time of serving his answer to the complaint) he has against the plaintiff, such party may not thereafter in any other action assert against the plaintiff the related cause of action not pleaded.
Cal.Civ.Proc.Code § 426.30 (West 1973 & Supp.2004). The statute elsewhere defines “related 'cause of action” as “a cause of action which arises out of the same transaction, occurrence, or series of transactions or occurrences as the cause of action which’ the plaintiff alleges in his complaint.” Cal.Civ.Proc.Code § 426.10(c).
At first glance, the compulsory cross-complaint provision appears to bar at least some of Maldonado’s claims. Maldonado’s current constitutional challenges to COAA were certainly “related causes of action,” within the. meaning of the statute, to the state nuisance action that Caltrans brought against Maldonado in 1998. On closer inspection, however, it becomes clear that the cross-complaint provision is inapplicable in this case. Section 426.30 requires a defendant in a state court action in California to raise any related causes of action which he has against the
plaintiff
in that action. The plaintiff in the 1998 nuisance action against Maldonado was Cal-trans.
See People ex rel. Dep’t of Transp. v. Maldonado,
2. Common Law Claim Preclusion
The district court found that Maldonado’s claims were also barred under common law principles of claim preclusion. In California, a final judgment precludes further proceedings if they are based on the same cause of action.
Eichman v. Fotomat Corp.,
[A] cause of action is comprised of a primary right of the plaintiff, a corresponding primary duty of the defendant, and a wrongful act by the defendant constituting a breach of that duty. The most salient characteristic of a primary right is that it is indivisible: the violation of a primary right gives rise to but a single cause of action.... As far as its content is concerned, the primary right is simply the plaintiffs right to be free from the particular injury suffered.
Mycogen Corp. v. Monsanto Co.,
The district court found Maldonado’s constitutional claims barred because it concluded that the same primary right was involved in both the 1998 state nuisance suit and the instant action, namely, Maldonado’s right to engage in off-premises advertisement on his billboard. This conclusion stems from a misreading of California law, however. The primary right in the state nuisance action was not Maldonado’s right to advertise on his billboard, but the right of the people of California to be free from obtrusive advertising displays along major highways. This was a statutory right that had been created by the state’s Legislature. Cf. Cal. Bus. & Prof.Code § 5226(stating that regulation of highway advertisements was necessary “to promote the public safety, health, welfare, convenience and enjoyment of public travel ...”). On the other hand, the primary right involved in the instant action is the one identified by the district court: Maldonado’s right to advertise freely on his property, a right that Maldonado claims is protected by the First Amendment. Because the primary rights involved in the two suits are different, the causes of action are also different, and the judgment against Maldonado in the nuisance action therefore does not bar any of his federal claims.
*953
The decision of the California Court of Appeal in
Morris v. Blank,
The district court therefore erred in dismissing Maldonado’s claims on the ground that they are barred by claim preclusion under California law.
C. Ripeness
The district court concluded that, to the extent that the Rooker-Feldmdn doctrine did not apply, Maldonado’s challenge to the application of COAA to his current advertisements was not ripe because it was unclear whether the statute would be enforced against those advertisements.
In
Thomas v. Anchorage Equal Rights Comm’n,
In
Thomas,
we also pointed to a prudential component of ripeness, and we noted that the analysis of this component was guided by two considerations: “the fitness of the issues for judicial decision and the hardship to the parties of withholding court consideration.”
Thomas,
In sum, we hold that Maldonado’s constitutional claims are ripe for review.
D. Statute of Limitations
Finally, Caltrans argues that Maldonado’s First Amendment challenges are barred by the statute of limitations applicable to § 1983 actions. The district court did not reach this issue because it had disposed of all of Maldonado’s claims on other grounds. Nonetheless, we examine this issue to determine whether we can affirm the district court’s dismissal of Maldonado’s claims on this ground.
See Groten v. California,
In determining the proper statute of limitations for actions brought under 42 U.S.C. § 1983, we look to the statute of limitations for personal injury actions in the forum state.
See Azer v. Connell,
Because Maldonádo filed the complaint in this case on July 2, 2002, any claims that had accrued before July 2, 2001 are barred by the statute of limitations. Federal law determines when a civil rights claim accrues.
Knox v. Davis,
A more difficult question is whether Maldonado’s facial challenge of the statute is barred by the statute of limitations. In fact, whether' a statute of limitations for § 1983 actions can bar a facial challenge under the First Amendment to a state statute appears to be a question that has not been conclusively resolved by any Circuit court. We join the Fourth Circuit in expressing serious doubts that a facial challenge under the First Amendment can ever be barred by a statute of limitations,
see Nat’l Adver. Co. v. City of Raleigh,
We therefore hold that the statute of limitations does not bar Maldonado’s facial challenge to COAA, nor his as-applied challenge relating to the current, allegedly non-commercial advertisements.
IV. Conclusion
We hold that the district court erred in dismissing Maldonado’s challenges to California’s Outdoor Advertising Act on the ground that they were barred on Rooker-Feldman, claim preclusion or ripeness grounds. We also hold that Maldonado’s challenge to his earlier, indisputably-commercial signs is barred by the statute of limitations, but that his facial challenge to the statute and his as-applied challenge relating to non-commercial advertisements are not barred. We therefore reverse the dismissal of Maldonado’s § 1983 action and remand so that Maldonado’s claims may be heard on the merits.
REVERSED and REMANDED.
Notes
. We will refer to the defendant in this case as "Caltrans,” even though the actual party defending the case is Tony Harris, the acting director of Caltrans.
. The statute also allows advertisements offering the property on which they are situated for sale or lease, or which simply identify the owner or occupant of the building. See § 5442.
. The doctrine takes its name from
Rooker v. Fidelity Trust Co.,
. We note that our reading of § 426.30 is consistent with the California courts’ recognition that preclusion provisions like the compulsory cross-complaint statute should be read narrowly.
See Datta v. Staab,
. Counsel for Caltrans asserted at oral argument that COAA does not apply to non-commercial advertisements, although he could point to nothing in the statute in support of that assertion. California's Attorney General has stated that the Act "does not apply to the posting of a sign on private property adjacent to a highway that expresses the property owner's opinion concerning a state or federal public official.”
. We note that a significant number of district courts have held that facial challenges under the First Amendment are not subject to the statutes of limitation applicable to § 1983 actions.
See Napa Valley Publishing Co. v. City of Calistoga,
We also note that facial challenges under the First- Amendment are fundamentally different from those brought under the Takings Clause. .In the latter context, we have held
*956
that a statute of limitations can bar facial challenges.
See Levald, Inc. v. City of Palm Desert,
[i]n the takings context, the basis of a facial challenge is that the very enactment of the statute has reduced the value of the property or has effected a transfer of a property interest. This is a single harm, measurable and compensable when the statute is passed. Thus, it is not inconsistent to say that different rules adhere in the facial takings context and other contexts.
Id. at 688.
