dened a fundamental right or employed a suspect classification. Therefore, we apply the most deferential standard of review to the County’s actions under the Equal Protection Clause. See, e.g., Sylvia, 48 F.3d at 820; Int'l Sci. & Tech. Inst., Inc. v. Inacom Communications, Inc., 106 F.3d 1146, 1156-57 (4th Cir.1997).
B.
The district court properly granted summary judgment with respect to TCP’s equal protection claim. First, as the district court noted, we need look only to the text of the moratorium and the PIDO to uncover the County’s legitimate governmental purpose. The moratorium stated that its purpose was “to protect the public health, safety, general welfare, and property values of citizens of Ashe County from potential adverse health effects caused by [asphalt] facilities.” The PIDO stated a similar purpose with respect to all polluting industries and went on to make clear that it was intended to “allow for the placement and growth of polluting industrial activities, while maintaining the health, safety and general welfare standards of established residential and commercial areas in Ashe County.” Ashe County Ordinance § 159.02. Further, there is no evidence that the County’s objectives were any less legitimate when it denied TCP’s building permit. Promoting the health, safety, and well-being of the County’s citizens are basic governmental functions. And this court will not substitute its policy judgments as to the exercise of the police power for those of a democratically elected local government. See, e.g., Sylvia, 48 F.3d at 820.
Second, the County’s actions were rationally related to these legitimate ends. We have previously stated that the relevant question under rational-basis review is whether local officials “reasonably could have believed that [their] action was rationally related to a legitimate governmental interest.” Front Royal & Warren County Indus. Park Corp. v. Town of Front Royal, 135 F.3d 275, 290 (4th Cir.1998). The actual motivation for the County’s actions are irrelevant. See, e.g., United States R.R. Ret. Bd. v. Fritz, 449 U.S. 166, 179, 101 S.Ct. 453, 66 L.Ed.2d 368 (1980). Here, the County officials could certainly have believed that passing the moratorium and the PIDO were rationally related to their legitimate interest in protecting the health and safety of Ashe County’s citizens. Both the moratorium and the PIDO sought to limit polluting industries’ proximity to citizens, especially school children and those in need of medical care. For example, the PIDO prohibited a polluting industry from locating “within 1,000 feet, in any direction, of a residential dwelling unit or commercial building,” or “within 1,320 feet of any school, daycare, hospital or nursing home facility.” Ashe County Ordinance § 159.06(B). It is rational for a community to decide that it does not want polluting industries, such as asphalt plants, in close proximity to residences, schools, daycare centers, hospitals, or nursing homes.
TCP attempts to save its equal protection claim by arguing that it was treated differently from other “similarly situated” persons or businesses in the County. The Supreme Court made clear in Village of Willowbrook v. Olech, 528 U.S. 562, 120 S.Ct. 1073, 145 L.Ed.2d 1060 (2000), that a party can bring an equal protection claim by alleging it has “been intentionally treated differently from others similarly situated and that there is no rational basis for the difference in treatment.” Id. at 564, 120 S.Ct. 1073. TCP argues that it was treated differently from permit applicants who sought other sorts of residential and commercial building per