Courts

What is the difference between a sheriff, a police chief and a district attorney?

The short answer

Sheriffs and police enforce laws and investigate crimes. Prosecutors, such as district attorneys, decide whether to charge someone and argue the case in court. Whether each is elected depends on the office and the state, but US attorneys are always appointed.

  • Facts checked November 4, 2026
  • 5 sources
  • 3 min read
How much detail?
You’re seeing part of this page.

Key facts

43

States where voters elect the attorney general

Ballotpedia

4 years

Term of a US attorney

28 U.S.C. § 541(b)

120 days

Longest an interim US attorney picked by the attorney general can serve

28 U.S.C. § 546(c)

Enforcing the law and prosecuting cases

Police officers and sheriffs enforce criminal laws and investigate crimes. Prosecutors take the next step: they decide who is charged with a crime and whether a case goes to trial. They also represent the government in criminal cases, and a judge or jury then decides the case. Some of these officials are elected and others are appointed, as the sections below explain.

Sheriffs

A sheriff usually heads a county office. In most states, county voters elect the sheriff, usually for a 4-year . Duties vary by state. In Texas, for example, sheriffs enforce state criminal law, run county jails, provide court security and serve warrants. In New York, sheriffs mainly serve as officers of the courts, carrying out court orders. A few states have no county sheriffs at all; Connecticut, for example, eliminated its county sheriffs in 2000.

Police chiefs

A police chief leads a city, town, borough or township police department, and local law decides who chooses the chief. In a Pennsylvania borough, for example, the borough council may name one of its police officers as chief. The mayor then has “full charge and control” of the chief and the police force. To learn who picks the chief where you live, check your local or state law.

District attorneys and attorneys general

The local chief prosecutor goes by different titles, such as attorney, county attorney, commonwealth attorney or state’s attorney. In many states, voters elect this official. Pennsylvania’s provides for an elected district attorney with a 4-year term in counties without a home rule charter or optional plan. In Connecticut, a state commission appoints all prosecutors. Voters elect the state attorney general in 43 states. Maine’s legislature and Tennessee’s supreme court choose theirs, and governors appoint the rest.

Federal prosecutors and marshals

Each federal judicial district has a US attorney, who prosecutes federal crimes there and handles the federal government’s civil cases. The president appoints US attorneys, with the Senate’s consent, to 4-year terms and can remove them. If the office is vacant, the US attorney general may appoint an interim US attorney for up to 120 days under 28 U.S.C. § 546. After that, the district court may appoint a US attorney until the vacancy is filled. US marshals, also appointed by the president with Senate consent, protect federal courts and enforce their orders.

From the record

The President shall appoint, by and with the advice and consent of the Senate, a United States attorney for each judicial district.

U.S. Code · 28 U.S.C. § 541(a)Read the full text

Questions people ask

Is a sheriff the same as a police chief?
No. A sheriff usually leads a county office and, in most states, is elected by county voters. A police chief leads a local police department and is chosen under local law.
Who chooses the district attorney?
In many states, voters elect the local chief prosecutor. Some states appoint prosecutors instead; in Connecticut, a state commission appoints all of them.
Is a US attorney elected?
No. The president appoints each US attorney with the Senate’s consent. US attorneys serve 4-year terms, and the president can remove them.
Who chooses a state attorney general?
Voters do in 43 states. In Maine the legislature chooses, in Tennessee the state supreme court chooses, and in the remaining states the governor appoints the attorney general.

Sources

Checked November 4, 2026. Primary sources first, then official records, then nonpartisan research.

How these facts were checked: our promise. Every substantive fix is listed on the corrections page.

Keep going