Interactive tool

How does the US government work?

Levels, branches, who chooses whom, terms, election years and a quick check, in one place. Facts checked November 4, 2026.

01

One address, many governments

US government is not one chain of command. It is several governments that overlap where you live: federal, state and local. This guide shows what each one does, who chooses each office, how long terms last and which elections fall in which years. Rules differ from state to state, so the guide says what varies and uses Pennsylvania as a worked example. Facts are current as of November 4, 2026.

Federal

The national government handles matters for the whole country, such as defense, money and trade between states.

What it handles

  • Collecting federal taxes
  • Coining money
  • Regulating trade between states and with other countries
  • Declaring war and commanding the armed forces
  • Naturalization and immigration
  • Issuing passports

Who leads it

Congress makes the laws, and voters elect its members. The president and vice president are chosen through the Electoral College. Supreme Court justices and other Article III judges are nominated by the president and confirmed by the Senate.

Art. I, § 8; Art. II, §§ 1-2; Art. III; travel.state.gov

02

Three branches, three jobs

The federal government has three branches. Each has its own job, and each can limit the other two.

Congress

Makes the laws

Congress: the House of Representatives, with 435 voting members, and the Senate, with 100. Each state also has its own legislature.

  • Writes and passes federal laws
  • Sets taxes and approves spending
  • Can override a veto with a two-thirds vote in each chamber
  • The House can impeach officials, and the Senate holds the trial
  • The Senate confirms or rejects many of the president’s nominees

Art. I; Art. II, § 2

President

Carries out the laws

The president, the vice president and the federal departments and agencies. Each state has a governor.

  • Carries out federal laws
  • Commands the armed forces
  • Signs or vetoes bills
  • Nominates judges, ambassadors and other top officials
  • Makes treaties, which need two-thirds of the senators present to approve

Art. I, § 7; Art. II, §§ 2-3

Courts

Decides cases

The Supreme Court and the lower federal courts, including 94 district courts. Each state also has its own courts.

  • Decides cases under the Constitution and federal laws
  • Can rule that a law is unconstitutional
  • Article III judges have no fixed term; they serve during good behavior

Art. III; uscourts.gov; usa.gov

Article ICongressArticle IIPresidentArticle IIICourts

Congress can

Check the president

  • Override a veto with a two-thirds vote in both chambersArt. I, § 7
  • Impeach (House) and remove (Senate) the presidentArt. I, §§ 2–3; Art. II, § 4
  • Approve treaties and confirm nominees (Senate)Art. II, § 2
  • Decide how federal money is raised and spentArt. I, §§ 8–9

Check the courts

  • Confirm federal judges (Senate)Art. II, § 2
  • Impeach and remove federal judgesArt. I, §§ 2–3; Art. II, § 4
  • Set the number of justices and create lower courtsArt. III, § 1; 28 U.S.C. § 1

The president can

Check Congress

  • Veto bills passed by CongressArt. I, § 7
  • Call Congress into special sessionArt. II, § 3

Check the courts

  • Nominate federal judgesArt. II, § 2
  • Grant pardons for federal crimesArt. II, § 2

The courts can

Check Congress

  • Rule that a law is unconstitutionalMarbury v. Madison (1803)

Check the president

  • Rule that an executive action is unconstitutionalMarbury v. Madison (1803)

Watch a federal law happen

6 steps

  1. CongressHouse or Senate

    A bill can start in either chamber. Bills that raise revenue must start in the House.

    Art. I, § 7, cl. 1

  2. CongressHouse and Senate

    The House and the Senate must each pass the bill before it goes to the president.

    Art. I, § 7, cl. 2

  3. PresidentPresident

    If the president signs, the bill becomes law. If the president objects, it goes back to the chamber where it started, along with the objections.

    Art. I, § 7, cl. 2

  4. PresidentPresident

    If the president does not act within 10 days, not counting Sundays, the bill becomes law anyway. If Congress has adjourned and so prevents its return, it does not become law.

    Art. I, § 7, cl. 2

  5. CongressHouse and Senate

    If two-thirds of the members voting in each chamber, with a quorum present, vote to pass the bill again, it becomes law without the president’s signature.

    Art. I, § 7, cl. 2

  6. CourtsFederal courts

    If someone challenges the law in a case, the courts can decide whether it fits the Constitution. The Supreme Court can overturn a law it finds unconstitutional.

    Art. III, § 2; usa.gov

03

Who chooses whom?

Some offices are elected by voters. Others are appointed, confirmed or hired. Filter by level or by how the job is filled.

52 entries

President

FederalElected

Presidential electors, whom each state and Washington, DC, appoint based on the November vote

A candidate needs a majority of the electors appointed: 270 when all 538 are appointed. If no one has a majority, the House chooses, with each state delegation casting 1 vote.

Art. II, § 1; Amdts. XII, XXII; National Archives

Term

4 years; no one can be elected more than twice

Vice president

FederalElected

Presidential electors, in a separate vote from the one for president

Each presidential nominee names a running mate. The vice president presides over the Senate, votes only to break a tie and becomes president if the president dies, resigns or is removed.

Art. I, § 3, cl. 4; Amdts. XII, XXV; usa.gov

Term

4 years

US senator

FederalElected

Voters across the whole state

Each state has 2 senators. Terms are staggered, so about one-third of seats (33 or 34) are up every 2 years.

Amdt. XVII; senate.gov

Term

6 years

US representative

FederalElected

Voters in a congressional district

The House has 435 voting members, divided among the states by population. Alaska, Delaware, North Dakota, South Dakota, Vermont and Wyoming each have 1 seat, elected statewide.

Art. I, § 2; house.gov; Ballotpedia

Term

2 years

House delegate or resident commissioner

FederalElected

Voters in Washington, DC, or a US territory

There are 5 delegates and 1 resident commissioner. They can introduce bills and serve on committees, but they cannot vote when the full House votes to pass a bill.

clerk.house.gov; 48 U.S.C. § 891

Term

2 years; 4 years for Puerto Rico’s resident commissioner

Presidential elector

FederalAppointed

Each state, in the way its legislature directs; Washington, DC, has 3 electors

Electors meet in their states in December and vote for president and vice president.

Art. II, § 1, cl. 2; Amdt. XXIII; 3 U.S.C. § 7

Term

Serves for one presidential election

Speaker of the House

FederalElected

Members of the House

Not chosen on any public ballot. The Speaker leads the House.

Art. I, § 2, cl. 5; house.gov

Term

No term set in the Constitution

President pro tempore of the Senate

FederalElected

Members of the Senate

Presides over the Senate when the vice president is absent.

Art. I, § 3, cl. 5

Term

No term set in the Constitution

Cabinet secretary

FederalAppointed and confirmed

Nominated by the president, confirmed by the Senate

Heads one of the federal executive departments.

Art. II, § 2, cl. 2

Term

No fixed term

US attorney

FederalAppointed and confirmed

Nominated by the president, confirmed by the Senate

Prosecutes federal crimes and handles civil cases for the United States in one federal judicial district. A different office from a county district attorney.

28 U.S.C. §§ 541, 547

Term

4 years; the president can remove them

Supreme Court justice or other Article III judge

FederalAppointed and confirmed

Nominated by the president, confirmed by the Senate

Judges in the 3 territorial district courts serve 10-year terms instead.

Art. II, § 2, cl. 2; Art. III, § 1; uscourts.gov

Term

No fixed term; they serve "during good Behaviour"

Federal magistrate judge

FederalAppointed

The district judges of that federal court

Not elected. Magistrate judges work alongside district judges on duties that the law and the court assign.

28 U.S.C. § 631; uscourts.gov

Term

8 years full time; 4 years part time

Governor

StateElected

Voters statewide

In Pennsylvania, for example, the governor can veto bills, and the legislature can override with two-thirds of all members elected to each chamber.

Ballotpedia; Pa. Const. art. IV, §§ 3, 15

Term

4 years in 48 states; 2 years in New Hampshire and Vermont

Lieutenant governor

StateVaries

Voters: on a joint ticket with the governor in 27 states, separately in 17. In Tennessee and West Virginia, the state senate’s leader holds the title.

Maine, New Hampshire, Oregon and Wyoming have no lieutenant governor. Arizona held its first election for the office in 2026. In Pennsylvania, one vote elects the governor and lieutenant governor together.

Ballotpedia; Pa. Const. art. IV, § 4

Term

Varies by state

State senator

StateElected

Voters in a state senate district

Nebraska has a single chamber of 49 members, called senators, who serve 4-year terms.

NCSL

Term

4 years in 38 states; 2 years in 12

State representative, assembly member or delegate

StateElected

Voters in a district of the lower chamber

Names differ: Virginia’s lower chamber is the House of Delegates, and New Jersey’s is the General Assembly.

NCSL; Ballotpedia

Term

2 years in 44 states; 4 years in Alabama, Louisiana, Maryland, Mississippi and North Dakota

State attorney general

StateElected

Voters statewide, in 43 states

In 5 states the governor appoints the attorney general. In Maine the legislature chooses, and in Tennessee the state supreme court does.

Ballotpedia (2026)

Term

Varies by state

Secretary of state

StateElected

Voters statewide, in 35 states

The governor appoints in 9 states, including Pennsylvania, where the office is called Secretary of the Commonwealth. The legislature chooses in 3. Alaska, Hawaii and Utah have no such office.

Ballotpedia (2026)

Term

Varies by state

State treasurer

StateElected

Voters statewide, in 36 states

Appointed in 12 states.

Ballotpedia; Pa. Const. art. IV, § 18

Term

Varies by state; 4 years in Pennsylvania

State auditor

StateVaries

Voters in 24 states; appointed in 24

Pennsylvania elects an auditor general.

Ballotpedia; Pa. Const. art. IV, § 18

Term

Varies by state; 4 years in Pennsylvania

State schools chief

StateAppointed

Usually the state board of education or the governor

Voters elect the state superintendent in 12 states: Arizona, California, Georgia, Idaho, Montana, North Carolina, North Dakota, Oklahoma, South Carolina, Washington, Wisconsin and Wyoming.

Ballotpedia (2026)

Term

Varies by state

Agriculture commissioner

StateAppointed

The governor, in 38 states

Elected in 12 states: Alabama, Florida, Georgia, Iowa, Kentucky, Louisiana, Mississippi, North Carolina, North Dakota, South Carolina, Texas and West Virginia.

Ballotpedia (2026)

Term

Varies by state

Insurance commissioner

StateAppointed

Appointed in 39 states, usually by the governor

Elected in 11 states: California, Delaware, Georgia, Kansas, Louisiana, Mississippi, Montana, North Carolina, North Dakota, Oklahoma and Washington.

Ballotpedia (2026)

Term

Varies by state

Labor commissioner

StateVaries

Elected in 4 states: Georgia, North Carolina, Oklahoma and Oregon

Ballotpedia (2026)

Term

Varies by state

Public utility commissioner

StateAppointed

Appointed in 40 states

Elected in 10 states: Alabama, Arizona, Georgia, Louisiana, Mississippi, Montana, Nebraska, North Dakota, Oklahoma and South Dakota.

Ballotpedia (2026)

Term

Varies by state

Land or natural resources commissioner

StateVaries

Elected in 5 states: Arkansas, New Mexico, South Dakota, Texas and Washington

Ballotpedia (2026)

Term

Varies by state

Texas railroad commissioner

StateElected

Texas voters

Despite the name, the commission has had no railroad duties since 2005. It oversees oil and gas wells, pipelines and coal surface mining, among other work.

Railroad Commission of Texas

Term

6 years; 3 commissioners serve overlapping terms

Michigan university board member

StateElected

Elected, under the Michigan Constitution

Covers the boards of the University of Michigan, Michigan State University and Wayne State University. This is one state’s example.

Mich. Const. art. VIII, § 5

Term

8 years

State supreme court justice

StateVaries

Depends on the state: election, appointment, or appointment followed by retention votes

In Pennsylvania, a justice wins a first term in an election, then faces yes-or-no retention votes. Ballotpedia counts 20 states that use retention elections.

uscourts.gov; pacourts.us; Ballotpedia

Term

Varies; 10 years in Pennsylvania

Other state judges

StateVaries

Depends on the state and the court

In Pennsylvania, the governor can fill a vacancy until the next election, with state Senate confirmation.

uscourts.gov; pacourts.us

Term

Varies; 10 years for Pennsylvania appeals and Common Pleas judges

Pennsylvania magisterial district judge

StateElected

Voters in the magisterial district

Hears traffic and other summary cases, landlord-tenant cases and civil claims of $12,000 or less. Also handles early steps in criminal cases, such as setting bail. Unlike other Pennsylvania judges, they do not face retention votes; they run in regular elections.

pacourts.us; 42 Pa.C.S. § 1515

Term

6 years

Philadelphia Municipal Court judge

StateElected

Philadelphia voters

An example of an elected municipal court judge.

pacourts.us

Term

6 years

County commissioner or supervisor

CountyElected

County voters

In the traditional form, the county board holds both lawmaking and executive power.

NACo; Pa. Const. art. IX, § 4

Term

Varies; 4 years in Pennsylvania

County executive

CountyElected

County voters

Found in about 700 counties. About 1,300 counties have an appointed administrator, and 83 have both.

NACo

Term

Usually 4 years

County administrator

CountyHired

Usually the county board

Runs daily operations and often prepares the budget.

NACo

Term

No elected term

Texas county judge

CountyElected

County voters

Presides over the commissioners court, which governs the county, and usually also serves as a judge of the county court. Kentucky’s county judge/executive is likewise the county’s chief executive.

Jefferson County, TX; KRS 67.710

Term

4 years

Sheriff

CountyElected

County voters, in most states

Duties can include running the jail, court security and serving court papers. Alaska and Connecticut have no sheriffs, and Hawaii and Rhode Island appoint theirs. In many Pennsylvania counties, a prison board that includes the sheriff oversees the jail.

Cornell LII; BJS; Berks County, PA

Term

Varies; 4 years in Pennsylvania

District attorney

CountyElected

Voters in a county or judicial district, in most states

The chief local prosecutor for state crimes. A 2001 federal survey found chief prosecutors were appointed, not elected, in Alaska, Connecticut, New Jersey and Washington, DC.

BJS (2001)

Term

4 years in most places

Coroner

CountyElected

County voters, where a coroner system is used

In most states, coroners do not have to be doctors. CDC maps from December 2023 show medical examiners, who are generally appointed, serving most counties in 23 states and Washington, DC, and coroners serving most counties in 20 states.

CDC; York County, PA

Term

Varies; 4 years in Pennsylvania

Pennsylvania county row officer

CountyElected

County voters

Includes the controller, treasurer, recorder of deeds, register of wills, prothonotary (civil court records) and clerk of courts (criminal court records). Public defenders are appointed, not elected.

Pa. Const. art. IX, § 4; Bucks County, PA

Term

4 years

Mayor

City or townVaries

Voters in many places; in some council-manager cities, the council chooses a mayor from among its members

Powers depend on the charter and state law. A Pennsylvania borough mayor, for example, takes charge of the police department if the borough has one.

NLC; Upper Saucon Twp., PA

Term

Varies; 4 years in Pennsylvania boroughs

City or borough council member

City or townElected

Local voters

Pennsylvania borough councils usually have 7 members with overlapping terms.

Upper Saucon Twp., PA; York County, PA

Term

Varies; 4 years in Pennsylvania

City manager

City or townHired

The city council

Runs day-to-day operations in the council-manager form. In State College, Pennsylvania, for example, the council appoints a borough manager.

NLC; State College, PA

Term

No elected term

Pennsylvania township supervisor

City or townElected

Voters in a second class township

Boards usually have 3 supervisors; voters can expand a board to 5.

Upper Saucon Twp., PA; York County, PA

Term

6 years

Pennsylvania township commissioner

City or townElected

Voters in a first class township

5 commissioners elected at large, or 1 per ward.

Upper Saucon Twp., PA

Term

4 years

Pennsylvania tax collector

City or townElected

Local voters

York County, PA

Term

4 years

Pennsylvania township auditor

City or townElected

Township voters

York County, PA

Term

6 years

Pennsylvania constable

City or townElected

Voters in a borough, township or city ward

Serves court papers, provides security at magisterial district courts and keeps the peace at polling places. Constables are independently elected, not county or court employees.

Chester County, PA

Term

6 years

Pennsylvania judge of elections

City or townElected

Voters in the election district (precinct)

An election official, not a courtroom judge. Each election district also elects a majority inspector and a minority inspector.

York County, PA

Term

4 years

School board member

SchoolElected

Voters in the district, in most districts

More than 97% of school board members are elected; a small number of boards are appointed.

Ballotpedia; York County, PA

Term

Varies; 4 years for Pennsylvania school directors

School superintendent

SchoolHired

Usually the school board

Often sits on the board as a nonvoting member.

Ballotpedia (2026)

Term

Varies

Special district board member

SpecialVaries

Voters or public officials, depending on the district

Special districts handle jobs such as water, fire protection, libraries and soil and water conservation. There were 40,199 in 2025.

Census (2022, 2025)

Term

Varies

04

Remember 2, 4 and 6

A representative serves 2 years, the president 4 and a senator 6. Every other term on this list is set by a state constitution or law.

US representative2 yr
US senator6 yr
President and vice president4 yr
House delegate (Washington, DC, and 4 territories)2 yr
Resident commissioner (Puerto Rico)4 yr
US attorney (the president can remove one)4 yr
Federal magistrate judge, full time8 yr
Federal magistrate judge, part time4 yr
Governor (48 states)4 yr
Governor (New Hampshire and Vermont)2 yr
State senator (38 states)4 yr
State senator (12 states)2 yr
State house member (44 states)2 yr
State house member (5 states)4 yr
Texas railroad commissioner6 yr
Michigan university board member8 yr
Pennsylvania governor4 yr
Pennsylvania attorney general, auditor general and treasurer4 yr
Pennsylvania state senator4 yr
Pennsylvania state representative2 yr
Pennsylvania county officers4 yr
Pennsylvania appeals and Common Pleas judges10 yr
Pennsylvania magisterial district judge6 yr
Philadelphia Municipal Court judge6 yr
Pennsylvania township supervisor6 yr
Pennsylvania borough mayor or council member4 yr
Pennsylvania school director4 yr
Pennsylvania constable6 yr
Pennsylvania judge of elections4 yr
Federal judges (Article III)No fixed term

Art. I, §§ 2–3; Art. II, § 1; Art. III, § 1; state constitutions and laws listed in the sources

05

Which elections happen in which years?

Federal elections fall in even years. Some states and many local governments vote in odd years. Pick a year.

2026

Midterm

Federal

  • All 435 voting seats in the US House, plus the 5 nonvoting delegates
  • 35 US Senate seats: 33 regular seats (Class II) and special elections in Florida and Ohio

State

  • Governor in 36 states
  • 88 of the 99 state legislative chambers, in 46 states
  • Pennsylvania: governor and lieutenant governor (one joint vote), all 203 state House seats and 25 of the 50 state Senate seats

Local

  • Local races in many places, on each state’s own schedule. In 14 states, most school board elections are held in November of even years.
  • Pennsylvania’s regular county, municipal, school and judicial elections fall in odd years, so none are scheduled this year.

The general election was held on November 3, 2026, halfway through the presidential term.

2 U.S.C. § 7; senate.gov; Ballotpedia; NCSL; Pa. Const. art. II

06

An election has several stages

Most elections follow the same path, though dates and rules come from each state.

From filing to taking office

8 steps

  1. Primaries narrow the field. In most states, each party picks its nominee; California and Washington instead send the top 2 finishers to the general election, whatever their party. In Pennsylvania, only voters registered with a party can vote in its primary. Any registered voter can still vote on a ballot question or special election on the same ballot. Other states set their own rules.

    usa.gov; pa.gov

  2. In presidential years, parties hold national conventions, usually from July to early September, to choose their presidential candidates. Each nominee names a running mate.

    usa.gov

  3. Voters choose among the candidates on the Tuesday after the first Monday in November. Federal races fall in even years; some states and many local governments also vote in odd years.

    2 U.S.C. § 7; usa.gov

  4. A special election fills an office that becomes vacant before the term ends. Some states use extra rounds; Louisiana, for example, sets its own primary and general election dates.

    Art. I, § 2, cl. 4; pa.gov; Ballotpedia

  5. Some ballots also ask voters to decide a question, such as a change to the state constitution, instead of choosing a person.

    pa.gov

  6. In presidential years, electors meet in their states on the first Tuesday after the second Wednesday in December and vote. A candidate needs a majority of the electoral votes, 270 when all 538 are appointed.

    3 U.S.C. § 7; National Archives

  7. Congress meets in a joint session on January 6, with the President of the Senate presiding. If no candidate has a majority, the House chooses the president, with each state delegation casting 1 vote. The Senate chooses the vice president.

    3 U.S.C. § 15; Amdt. XII

  8. New members of Congress start at noon on January 3. The president’s and vice president’s terms begin at noon on January 20.

    Amdt. XX, § 1

07

Who handles my problem?

Everyday problems usually belong to one level of government. Tap a problem to see which one, and what varies.

There is a pothole on my street.

The local government that maintains your street, often your city, borough, township or county.

Upkeep of roads and bridges is a core job of many local governments, including counties.

A street may belong to a different government than you expect. Your municipality can tell you who maintains it.

NACo

My public school’s budget is changing.

Your school board, which voters elect in most districts.

Most school districts are their own governments, separate from your city or town. More than 97% of school board members are elected.

About 1,300 school systems are run by another government, such as a city or county. In some Alabama cities, for example, the city government appoints the school board.

Census (2022, 2025); Ballotpedia

I got a traffic ticket.

A local trial court, such as a county or municipal court. In Pennsylvania, a magisterial district judge.

County and municipal courts often hear traffic and other minor cases. Pennsylvania’s magisterial district judges hear summary traffic cases and are elected for 6-year terms.

Court names and setups differ from state to state.

usa.gov; pacourts.us; 42 Pa.C.S. § 1515

My landlord and I have a dispute, or someone owes me money.

A state court. In Pennsylvania, a magisterial district judge hears landlord-tenant cases and civil claims of $12,000 or less.

Most contract cases and family law cases are handled in state courts, not federal courts.

Dollar limits and court names vary by state.

uscourts.gov; 42 Pa.C.S. § 1515

I need a passport.

The US Department of State.

Passports are a federal job. The State Department issues them to US citizens.

This is not a state or local matter.

travel.state.gov

I have a question about immigration or citizenship.

Federal agencies. US Citizenship and Immigration Services, part of the Department of Homeland Security, handles applications such as naturalization.

Immigration and naturalization are federal powers.

Immigration courts are a separate part of the Department of Justice. They decide cases, while the Department of Homeland Security enforces immigration law.

Art. I, § 8, cl. 4; uscis.gov; justice.gov/eoir

Who runs the county jail?

Often the county sheriff.

Sheriffs’ offices can be responsible for running jails, providing court security and serving court papers.

In many Pennsylvania counties, a prison board oversees the jail. Its members include the sheriff, the district attorney, a judge, the controller and the commissioners. Alaska and Connecticut have no sheriffs, and Hawaii and Rhode Island appoint theirs.

BJS; NACo; Berks County, PA; Cornell LII

Who decides whether to charge someone with a state crime?

The local chief prosecutor, often called the district attorney, whom voters elect in most states.

Most criminal cases are state cases, heard in state courts.

A 2001 federal survey found chief prosecutors were appointed in Alaska, Connecticut, New Jersey and Washington, DC. Federal crimes are prosecuted by a US attorney, who is appointed.

BJS (2001); uscourts.gov; 28 U.S.C. § 547

I want to know what will be on my ballot.

Your state or local election office.

Under the Constitution, state legislatures set the times, places and manner of congressional elections, and Congress can change those rules. In Pennsylvania, each county’s board of elections runs elections.

Who runs elections day to day differs by state.

Art. I, § 4, cl. 1; NCSL

08

Similar names, different jobs

Some titles sound alike but belong to different governments or branches.

Federal magistrate judge or Pennsylvania magisterial district judge

ISA federal magistrate judge is appointed by the judges of a federal district court, for 8 years full time or 4 years part time.
IS NOTA Pennsylvania magisterial district judge is a different job: a state judge elected by local voters for 6 years.

28 U.S.C. § 631; pacourts.us

Mayor or city manager

ISA city manager is hired by the elected council to run day-to-day operations.
IS NOTA city manager is not elected and is not the mayor. The mayor may be elected by voters or chosen by the council.

NLC; State College, PA

US attorney or district attorney

ISA US attorney prosecutes federal crimes in one federal judicial district. The president appoints them, with Senate consent, for 4 years.
IS NOTA US attorney is not a county official. A district attorney, elected in most states, prosecutes state crimes.

28 U.S.C. §§ 541, 547; BJS

Texas county judge or courtroom judge

ISIn Texas, the elected county judge presides over the commissioners court, which governs the county.
IS NOTThe job is not only a courtroom role, although Texas county judges usually also hear cases in the county court.

Jefferson County, TX

Judge of elections or courtroom judge

ISIn Pennsylvania, a judge of elections is an election official chosen by voters in an election district for 4 years.
IS NOTA judge of elections is not a judge who hears court cases.

York County, PA

US House or state house

ISThe US House is part of Congress. It has 435 voting members, elected every 2 years.
IS NOTIt is not your state house, which is part of your state legislature and has its own districts. Pennsylvania’s House has 203 members; Nebraska has no separate house.

house.gov; Pa. Const. art. II, § 16

Primary or general election

ISA primary narrows the field. In most states, it picks each party’s nominee.
IS NOTA primary does not fill the office. The general election in November does.

usa.gov; pa.gov

Popular vote or electoral vote

ISYour vote for president helps decide which electors your state appoints. In 48 states and Washington, DC, the statewide winner gets all the electors; Maine and Nebraska also award electors by congressional district.
IS NOTThe national popular vote total does not decide the result by itself. The winner needs a majority of the electoral votes, 270 when all 538 are appointed.

usa.gov; National Archives

Coroner or medical examiner

ISA coroner is usually elected and serves one county.
IS NOTA coroner is often not a doctor. A medical examiner is generally an appointed official.

CDC

School board or superintendent

ISThe school board governs the district. Its members are elected in most districts.
IS NOTThe superintendent is a separate job, usually filled by the board’s choice.

Ballotpedia (2026)

Speaker of the House or President of the Senate

ISThe Speaker is chosen by the members of the House.
IS NOTThe vice president is President of the Senate and votes only to break a tie. The Senate chooses a president pro tempore to preside when the vice president is absent.

Art. I, §§ 2-3

09

Check yourself

Twelve questions. No timer, no score shown to anyone but you.

Question 1 of 12

Question 1

Which branch writes federal laws?

10

Questions people ask

Short answers, each with its source.

How is power divided in the US government?
Power is split between the federal government and the 50 states. Each state also has local governments, such as counties, cities, townships, school districts and special districts. The Census Bureau counted 91,438 local governments in 2025.

Census (2025); usa.gov

What are the 3 branches of government?
Congress writes federal laws, the president carries them out, and federal courts decide cases. Each branch can check the others: the president can veto bills, the Senate confirms or rejects nominees, and courts can overturn unconstitutional laws.

usa.gov; Art. I-III

Who elects the president?
Voters in each state and Washington, DC, decide which presidential electors are appointed. The electors then vote, and a candidate needs a majority of them, 270 when all 538 are appointed. If no one has a majority, the House chooses; that has happened twice, in 1800 and 1824.

National Archives; usa.gov

Who elects members of Congress?
Each state’s voters elect its 2 senators for 6-year terms. Voters in each congressional district elect a representative for 2 years. Alaska, Delaware, North Dakota, South Dakota, Vermont and Wyoming each have 1 House seat, elected statewide.

Amdt. XVII; Art. I, § 2; Ballotpedia

What is a midterm election?
A midterm is the federal election held halfway through a president’s 4-year term. All 435 voting House seats and about one-third of Senate seats are on the ballot. The most recent midterm was on November 3, 2026, and the next is in 2030.

usa.gov; 2 U.S.C. § 7

Why do some states vote in odd years?
It depends on each state’s election calendar. Kentucky, Louisiana and Mississippi elect governors in the year before a presidential election, and New Jersey and Virginia in the year after. Louisiana, Mississippi, New Jersey and Virginia also elect their legislatures in odd years. Pennsylvania holds all its regular county, local and judicial elections in odd years too.

Ballotpedia; Pa. Const. art. VII, § 3

Who elects the mayor?
It depends on the city. In the mayor-council form, voters elect the mayor separately from the council. In some council-manager cities, the council chooses the mayor from among its own members and hires a manager to run daily operations.

NLC

Is a sheriff elected?
In most states, county voters elect the sheriff. Alaska and Connecticut have no sheriffs, and Hawaii and Rhode Island appoint theirs. Depending on state law, a sheriff’s office may run the jail, provide court security and serve court papers.

Cornell LII; BJS

Are judges elected?
Federal judges are not. The president nominates Supreme Court justices and other Article III judges, and the Senate confirms them. State judges are chosen in different ways depending on the state: by election, by appointment, or by appointment followed by yes-or-no retention votes.

Art. II, § 2; uscourts.gov

What is a magistrate?
It is a title used for several different judges. A federal magistrate judge is appointed by a district court’s judges for 8 years. A Pennsylvania magisterial district judge is elected by local voters for 6 years and hears traffic, landlord-tenant and small civil cases.

28 U.S.C. § 631; pacourts.us

Who runs a school district?
Usually an elected school board. More than 97% of school board members are elected, and boards usually choose the superintendent. In some places, a city, county or state government runs the schools instead.

Ballotpedia; Census (2025)

Do I vote for every office in this guide?
No. You vote only for the offices that cover where you live, and many offices in this guide are appointed or hired. Your state or local election office can tell you what is on your ballot.

pa.gov; York County, PA

What about Washington, DC, the territories and tribal nations?
They have their own systems. Washington, DC, is not a state and has no county government. It has 3 electoral votes and a nonvoting delegate in the House. Four territories also send nonvoting delegates, and Puerto Rico elects a resident commissioner. The Census Bureau treats tribal governments as sovereign nations, not as local governments.

Amdt. XXIII; clerk.house.gov; Census

11

Sources

Every claim in this guide was checked on November 4, 2026 against these 88 sources.

Show all sources

Nonpartisan researchs (36)