delivered the opinion of the Court.
We noted probable jurisdiction in this case to consider whether a State may constitutionally limit the appointment of members of its police force to citizens of the United States. 430 U. S. 944 (1977).
The appellant, Edmund Foley, is an alien eligible in due course to become a naturalized citizen, who is lawfully in this country as a permanent resident. He applied for appointment as a New York State trooper, a position which is filled on the basis of competitive examinations. Pursuant to a New York statute, N. Y. Exec. Law § 215 (3) (McKinney 1972), state authorities refused to allow Foley to take the examination. The statute provides:
“No person shall be appointed to the New York state police force unless he shall be a citizen of the United States.”
Appellant then brought this action in the United States District Court for the Southern District of New York, seeking a declaratory judgment that the State’s exclusion of aliens from its police force violates the Equal Protection Clause of the Fourteenth Amendment. After Foley was certified as representative of a class of those similarly situated, a three-judge *293District Court was convened to consider the merits of the claim. The District Court held the statute to be constitutional. 419 F. Supp. 889 (1976). We affirm.
I
The essential facts in this case are uncontroverted. New York Exec. Law § 215 ,(3) (McKinney 1972) prohibits appellant and his class from becoming state troopers. It is not disputed that the State has uniformly complied with this restriction since the statute was enacted in 1927. Under it, an alien who desires to compete for a position as a New York State trooper must relinquish his foreign citizenship and become an American citizen. Some members of the class, including appellant, are not currently eligible for American citizenship due to waiting periods imposed by congressional enactment.1
A trooper in New York is a member of the state police force, a law enforcement body which exercises broad police authority throughout the State. The powers of troopers are generally described in the relevant statutes as including those functions traditionally associated with a peace officer. Like most peace officers, they are charged with the prevention and detection of crime, the apprehension of suspected criminals, investigation of suspect conduct, execution of warrants and have powers of search, seizure and arrest without a formal warrant under limited circumstances. In the course of carrying out these responsibilities an officer is empowered by New York law to resort to lawful force, which may include the use of any weapon that he is required to carry while on duty. All troopers are on call 24 hours a day and are required to take appropriate action whenever criminal activity is observed.
*294Perhaps the best shorthand description of the role of the New York State trooper was that advanced by the District Court: “State police are charged with the enforcement of the law, not in a private profession and for the benefit of themselves and their clients, but for the benefit of the people at large of the State of New York.” 419 F. Supp., at 896.
II
Appellant claims that the relevant New York statute violates his rights under the Equal Protection Clause.
The decisions of this Court with regard to the rights of aliens living in our society have reflected fine, and often difficult, questions of values. As a Nation we exhibit extraordinary hospitality to those who come to our country,2 which is not surprising for we have often been described as “a nation of immigrants.” Indeed, aliens lawfully residing in this society have many rights which are accorded to noncitizens by few other countries. Our cases generally reflect a close scrutiny of restraints imposed by States on aliens. But we have never suggested that such legislation is inherently invalid, nor have we held that all limitations on aliens are suspect. See Sugarman v. Dougall, 413 U. S. 634, 648 (1973). Rather, beginning with a case which involved the denial of welfare assistance essential to life itself, the Court has treated certain restrictions on aliens with “heightened judicial solicitude,” Graham v. Richardson, 403 U. S. 365, 372 (1971), a treatment deemed necessary since aliens — pending their eligibility for citizenship — have no direct voice in the political processes. See United States v. Carolene Products Co., 304 U. S. 144, 152-153, n. 4 (1938).3
*295Following Graham, a series of decisions has resulted requiring state action to meet close scrutiny to exclude aliens as a class from educational benefits, Nyquist v. Mauclet, 432 U. S. 1 (1977); eligibility for a broad range of public employment, Sugarman v. Dougall, supra; or the practice of licensed professions, Examining Board v. Flores de Otero, 426 U. S. 572 (1976); In re Griffiths, 413 U. S. 717 (1973). These exclusions struck at the noncitizens’ ability to exist in the community, a position seemingly inconsistent with the congressional determination to admit the alien to permanent residence. See Graham, supra, at 377-378; Barrett, Judicial Supervision of Legislative Classifications — A More Modest Role For Equal Protection?, 1976 B. Y. U. L. Rev. 89, 101.4
It would be inappropriate, however, to require every statutory exclusion of aliens to clear the high hurdle of "strict scrutiny,” because to do so would “obliterate all the distinctions between citizens and aliens, and thus depreciate the historic values of citizenship.” Mauclet, supra, at 14 (Burger, C. J., dissenting). The act of becoming a citizen is more than a ritual with no content beyond the fanfare of ceremony. A new citizen has become a member of a Nation, part of a people distinct from others. Cf. Worcester v. Georgia, 6 Pet. 515, 559 (1832). The individual, at that point, belongs to the polity and is entitled to participate in the processes of democratic decisionmaking. Accordingly, we have recognized “a State’s historical power to exclude aliens from participation in its democratic political institutions,” Dougall, supra, at 648, as *296part of the sovereign’s obligation “ 'to preserve the basic conception of a political community.’ ” 413 U. S., at 647.
The practical consequence of this theory is that ''our scrutiny will not be so demanding where we deal with matters firmly within a State’s constitutional prerogatives.” Dougall, supra, at 648. The State need only justify its classification by a showing of some rational relationship between the interest sought to be protected and the limiting classification. This is not intended to denigrate the valuable contribution of aliens who benefit from our traditional hospitality. It is no more than recognition of the fact that a democratic society is ruled by its people. Thus, it is clear that a State may deny aliens the right to vote, or to run for elective office, for these lie at the heart of our political institutions. See 413 U. S., at 647-649. Similar considerations support a legislative determination to exclude aliens from jury service. See Perkins v. Smith, 370 F. Supp. 134 (Md. 1974), aff’d, 426 U. S. 913 (1976). Likewise, we have recognized that citizenship may be a relevant qualification for fulfilling those ''important nonelective executive, legislative, and judicial positions,” held by “officers who participate directly in the formulation, execution, or review of broad public policy.” Dougall, supra, at 647. This is not because our society seeks to reserve the better jobs to its members. Rather, it is because this country entrusts many of its most important policy responsibilities to these officers, the discretionary exercise of which can often more immediately affect the lives of citizens than even the ballot of a voter or the choice of a legislator. In sum, then, it represents the choice, and right, of the people to be governed by their citizen peers. To effectuate this result, we must necessarily examine each position in question to determine whether it involves discretionary decisionmaking, or execution of policy, which substantially affects members of the political community.5
*297The essence of our holdings to date is that although we extend to aliens the right to education and public welfare, along with the ability to earn a livelihood and engage in licensed professions, the right to govern is reserved to citizens.
Ill
A discussion of the police function is essentially a description of one of the basic functions of government, especially in a complex modern society where police presence is pervasive. The police function fulfills a most fundamental obligation of government to its constituency. Police officers in the ranks do not formulate policy, per se, but they are clothed with authority to exercise an almost infinite variety of discretionary powers.6 The execution of the broad powers vested in them affects members of the public significantly and often in the most sensitive areas of daily life. Our Constitution, of course, provides safeguards to persons, homes and possessions, as well as guidance to police officers. And few countries, if any, provide more protection to individuals by limitations on the power and discretion of the police. Nonetheless, police may, in the exercise of their discretion, invade the privacy of an individual in public places, e. g., Terry v. Ohio, 392 U. S. 1 (1968). They may under some conditions break down a door to enter a dwelling or other building in the execution of a warrant, e. g., Miller v. United States, 357 U. S. 301 (1958), or without a formal warrant in very limited circumstances; they may stop vehicles traveling on public highways, e. g., Pennsylvania v. Mimms, 434 U. S. 106 (1977).
*298An arrest, the function most commonly associated with the police, is a serious matter for any person even when no prosecution follows or when an acquittal is obtained. Most arrests are without prior judicial authority, as when an officer observes a criminal act in progress or suspects that felonious activity is afoot. Even the routine traffic arrests made by the state trooper — for speeding, weaving, reckless driving, improper license plates, absence of inspection stickers, or dangerous physical condition of a vehicle, to describe only a few of the more obvious common violations — can intrude on the privacy of the individual. In stopping cars, they may, within limits, require a driver or passengers to disembark and even search them for weapons, depending on time, place and circumstances. That this prophylactic authority is essential is attested by the number of police officers wounded or killed in the process of making inquiry in borderline, seemingly minor violation situations — for example, where the initial stop is made for a traffic offense but, unknown to the officer at the time, the vehicle occupants are armed and engaged in or embarked on serious criminal conduct.
Clearly the exercise of police authority calls for a very high degree of judgment and discretion, the abuse or misuse of which can have serious impact on individuals.7 The office of a policeman is in no sense one of “the common occupations of the community” that the then Mr. Justice Hughes referred to in Truax v. Raich, 239 U. S. 33, 41 (1915). A policeman vested with the plenary discretionary powers we have described is not to be equated with a private person engaged in routine public employment or other “common occupations of the community” who exercises no broad power over people gen*299erally. Indeed, the rationale for the qualified immunity historically granted to the police rests on the difficult and delicate judgments these officers must often make. See Pierson v. Ray, 386 U. S. 547, 555-557 (1967); cf. Scheuer v. Rhodes, 416 U. S. 232, 245-246 (1974).
In short, it would be as anomalous to conclude that citizens may be subjected to the broad discretionary powers of non-citizen police officers as it would be to say that judicial officers and jurors with power to judge citizens can be aliens. It is not surprising, therefore, that most States expressly confine the employment of police officers to citizens,8 whom the State may reasonably presume to be more familiar with and sym*300pathetic to American traditions.9 Police officers very clearly fall within the category of “important nonelective . . . officers who participate directly in the . . . execution ... of broad public policy.” Dougall, 413 U. S., at 647 (emphasis added). In the enforcement and execution of the laws the police function is one where citizenship bears a rational relationship to the special demands of the particular position. A State may, therefore, consonant with the Constitution, confine the performance of this important public responsibility to citizens of the United States.10
Accordingly, the judgment of the District Court is
Affirmed.
We recognize that New York’s statute may effectively prevent some class members from .ever becoming troopers since state law limits eligibility for these positions to those between the age of 21 and 29 years. N. Y. Exec. Law §215 (3) (McKinney 1972).
One indication of this attitude is Congress’ determination to malee it relatively easy for immigrants to become naturalized citizens. See 8 U. S. C. § 1427 (1976 ed.).
The alien’s status is, at least for a time, beyond his control since *295Congress has imposed durational residency requirements for the attainment of citizenship. Federal law generally requires an alien to lawfully reside in this country for five years as a prerequisite to applying for naturalization. 8 U. S. C. § 1427 (a) (1976 ed.).
In Mauclet, for example, New York State policy reflected a legislative judgment that higher education was “ ‘no longer ... a luxury; it is a necessity for strength, fulfillment and survival.’ ” 432 U. S., at 8 n. 9.
This is not to say, of course, that a State may accomplish this end with *297a citizenship restriction that "sweeps indiscriminately,” Dougall, 413 U. S., at 643, without regard to the differences in the positions involved.
See ABA Project on Standards for Criminal Justice, The Urban Police Function 119 (App. Draft 1973); National Advisory Commission on Criminal Justice Standards and Goals, Police 22-23 (1973); President’s Commission on Law Enforcement and Administration of Justice, The Challenge of Crime in a Free Society 10 (1967).
After the event, some abuses of power may be subject to remedies by one showing injury. See Bivens v. Six Unknown Fed. Narcotics Agents, 403 U. S. 388 (1971). And conclusive evidence of criminal conduct may be kept from the knowledge of a jury because of police error or misconduct.
Twenty-four States besides New York specifically require United States citizenship as a prerequisite for becoming a member of a statewide law enforcement agency: see Ark. Stat. Ann. § 42-406 (1964); Cal. Govt. Code Ann. § 1031 (West Supp. 1978); Fla. Stat. Ann. § 943.13 (2) (West Supp. 1976); Ga. Code § 92A-214 (Supp. 1977); 111. Rev. Stat., ch. 121, §307.9 (1975); Ind. Rules & Regs., Tit. 10, Art. 1, ch. 1, §4-7 (1976); Iowa Code § 80.15 (1977); Kan. Stat. Ann. § 74r-2113 (c) (Supp. 1976); Ky. Rev. Stat. § 16.040 (2)(c) (1971); Mich. Comp. Laws §28.4 (1967); Miss. Code Ann. § 45-3-9 (Supp. 1977); Mo. Rev. Stat. § 43.060 (1969); Mont. Rev. Codes Ann. § 31-105 (3) (a) (v) (Supp. 1977); Nev. Rev. Stat. §281.060 (1) (1975); N. H. Rev. Stat. Ann. § 106-R:20 (Supp. 1975); N. J. Stat. Ann. §53:1-9 (West Supp. 1977); N. M. Stat. Ann. § 39-2-6 (1972); N. D. Cent. Code § 39-03-04 (4) (Supp. 1977); Ore. Rev. Stat. § 181.260 (1) (a) (1977); Pa. Stat. Ann., Tit. 71, § 1193 (Purdon 1962); R. I. Gen. Laws § 42-28-10 (1970); S. D. Comp. Laws Ann. §3-7-9 and §3-1-4 (1974); Tex. Rev. Civ. Stat. Am., Art. 4413 (9) (2) (Vernon 1976); Utah Code Ann. §27-11-11 (1976). Oklahoma requires its officers to be citizens of the State. See Okla. Stat., Tit. 47, § 2-105 (a) (Supp. 1976). Nine other States require American citizenship as part of a general requirement applicable to all types of state officers or employees: see Ala. Code, Tit. 36, § 2-1 (a) (1) (1977); Ariz. Rev. Stat. Ann. § 38-201 (1974); Haw. Rev. Stat. § 78-1 (1976); Idaho Code § 59-101 (1976) and Idaho Const., Art. 6, § 2; Me. Rev. Stat. Ann., Tit. 5, § 556 (Supp. 1977); Mass. Gen. Laws Ann., ch. 31, § 12 (West Supp. 1977); Ohio Rev. Code Ann. § 124.22 (1978); Tenn. Code Ann. §8-1801 (Supp. 1977); Vt. Stat. Ann., Tit. 3, § 262 (1972); W. Va. Const., Art. 4, § 4.
Police powers in many countries are exercised in ways that we would find intolerable and indeed violative of constitutional rights. To taire only one example, a large number of nations do not share our belief in the freedom of movement and travel, requiring persons to carry identification cards at all times. This, inter alia, affords a rational basis for States to require that those entrusted with the execution of the laws be individuals who, even if not native Americans, have indicated acceptance and allegiance, to our Constitution by becoming citizens.
Cf. McCarthy v. Philadelphia Civil Service Comm’n, 424 U. S. 645 (1976); Detroit Police Officers Assn. v. Detroit, 385 Mich. 519, 190 N. W. 2d 97 (1971), dismissed for want of substantial federal question, 405 U. S. 950 (1972).