The sun sits low over a dirt street in Dodge City. Dust hangs in the light like smoke that won’t clear. A man in a wool coat walks the boardwalk with a shotgun cradled in his arm, checking doors, nodding at merchants closing up for the night.
He’s not chasing anyone. Most nights, he never draws his gun at all.
This was the real texture of frontier law enforcement: long stretches of quiet, tax ledgers, jail keys, and the occasional night that turned violent enough to end up in a newspaper three states away.
The American West never had one tidy system of law enforcement. It had county sheriffs, town marshals, federal marshals, constables, tribal police, Texas Rangers, railroad detectives, military authorities, posses, and sometimes vigilantes. Their jurisdictions overlapped, their authority varied, and the men holding those positions were not always clear about where one ended and another began.
Three of the most visible were the county sheriff, the marshal, and the private detective. Understanding the differences between them explains a great deal about how the West actually worked, and why the job looked so little like the movies.
The Sheriff Answered to the Ballot Box
The county sheriff was an elected office, and that shaped everything about the job. The office descended from the English shire reeve, but the distinctly American tradition of electing county sheriffs took root in Pennsylvania and New Jersey in 1776 and spread as the country pushed west. A sheriff kept his job only as long as voters wanted him there, which meant campaigning, favor-trading, and sometimes losing his badge to a rival after a single violent term.
The duties themselves were less romantic than the reputation. An 1861 Nevada law spelled out the basics: keep the peace, break up riots, serve legal papers, and call on the citizens for help when needed. In practice that meant collecting taxes, watching over prisoners in the town jail, campaigning for re-election, and sometimes sweeping the streets himself. Sheriffs were also expected to carry out court-ordered punishments, hangings included.
Compensation varied widely. Some sheriffs received salaries, but many offices depended heavily on statutory fees for serving papers, making arrests, transporting prisoners, conducting sales, or collecting taxes and licenses. Deputies might be paid by the task rather than by the month, and rewards occasionally supplemented that income. The system could encourage energetic enforcement, but it also created obvious opportunities for abuse. A sheriff without deputies covered a county the size of a small state on horseback, alone, with a family waiting for him to come home.
Marshals Came in Two Very Different Kinds
The word “marshal” covered two jobs that had almost nothing to do with each other. Towns elected or appointed their own marshals to handle local peacekeeping. A U.S. Marshal, by contrast, was a federal appointment, responsible for enforcing federal law across an entire judicial district.
A place like Tombstone could have a county sheriff, a city marshal, and federally commissioned deputies operating in the same community. During the conflict that culminated near the O.K. Corral, John Behan was Cochise County sheriff, Virgil Earp was Tombstone’s city marshal and a deputy U.S. marshal, and Wyatt Earp had moved through several local and federal appointments. Their overlapping authority was entangled with partisan politics, personal alliances, and the town’s larger feud.
A U.S. Marshal’s path to the badge ran through Washington. The office dates to the Judiciary Act of 1789. Marshals received renewable four-year appointments from the president, subject to Senate confirmation. In practice, the office was often treated as a political appointment, and a change of administration could bring a change of marshal, and of the deputy force beneath him.
The daily work was less gunfighting than paperwork and mileage. Early U.S. Marshals conducted the national census, distributed presidential proclamations, guarded the borders, and made arrests, all across enormous stretches of territory.
Field deputies generally worked under a fee system rather than a dependable salary. Federal schedules assigned payments for serving warrants, making arrests, transporting prisoners, and covering approved travel expenses. Long rides could therefore produce surprisingly little income, particularly when a fugitive was not found or an expense was disallowed.
Nowhere was the grind more dangerous than Indian Territory, present-day Oklahoma. The federal court at Fort Smith, Arkansas, held jurisdiction over more than 75,000 square miles of it, and the deputies who rode out from that courthouse faced some of the deadliest duty in the country. More than sixty deputy marshals were killed in the line of duty during Judge Isaac Parker’s tenure alone. This was not a job for a man chasing glory. It was a job for a man who could survive being forgotten in the saddle for a month at a time.
The Pinkertons Never Slept
Private enforcement filled gaps that county and federal lawmen couldn’t reach, especially where railroads and express companies were concerned. Allan Pinkerton, a former deputy sheriff from Cook County, Illinois, founded his detective agency around 1850. It specialized early on in railway theft: protecting trains and hunting down the men who robbed them.
The agency’s motto said everything about its business model. Pinkerton’s operated under the slogan “We Never Sleep,” with an unblinking eye as its emblem, a phrase that eventually gave the world the term “private eye.” Railroads and express companies paid for that vigilance because a county sheriff’s authority stopped at the county line, and federal marshals were stretched too thin to chase down every stolen express box.
The agency’s manhunts became legend in their own right. In the late 1860s, Pinkerton agents helped break up the Reno Gang, generally regarded as America’s first organized train-robbing gang. Allan Pinkerton personally pursued Frank Reno into Canada and helped secure his return to the United States, although the case ended not in an orderly trial but in the vigilante lynching of several gang members.
The hunt for Jesse James went far worse. Agent Joseph Whicher was murdered while attempting to infiltrate the gang. Months later, agent Louis Lull and a local deputy were killed in a gunfight with members of the Younger family. Then, in January 1875, an incendiary device thrown into the James family home killed Jesse and Frank’s young half-brother and badly injured their mother, turning the pursuit into a public-relations disaster.
Decades later, the same agency chased Butch Cassidy’s Wild Bunch across much of the same rugged country their outlaw predecessors had used to vanish.
The badge mattered. But it offered no assurance that the man behind it was brave, competent, honest, or even on the right side of the law.
Five Lawmen Who Defined the Era
Behind the titles were individual men, and their careers show how different one badge could be from another.
Bass Reeves
Bass Reeves may be the most remarkable deputy the era produced.
Born into slavery in Arkansas, Reeves gained his freedom during the Civil War under circumstances that later accounts describe somewhat differently. He spent time in Indian Territory and became familiar with its people, languages, and geography.
In 1875, U.S. Marshal James Fagan recruited him for the federal court over which Judge Isaac Parker presided, making Reeves one of the first Black deputies to serve west of the Mississippi.
Over a thirty-two-year federal career, Reeves was credited with more than 3,000 arrests. That total cannot be verified case by case, but the surviving record confirms an extraordinarily long and effective career. He became known for patience, disguise, tracking, and his ability to return with prisoners who expected never to be found.
Reeves stated that he had killed fourteen men in self-defense. Some later claims about his strength and marksmanship drift toward legend. But the documented record alone makes him one of the most effective lawmen the frontier produced.
Wild Bill Hickok
James Butler “Wild Bill” Hickok built a reputation before he ever pinned on a badge.
After serving the Union as a scout, wagon master, and military detective, Hickok received a federal deputy marshal’s commission and was elected sheriff of Ellis County, Kansas, in 1869. He later became Abilene’s city marshal.
His tenure there ended violently.
In October 1871, he killed saloon owner Phil Coe during a confrontation and, firing at a man running onto the scene, accidentally killed his friend and special deputy Mike Williams.
Hickok was relieved of his duties soon afterward, effectively ending his career as a town lawman. He was killed in 1876 while playing poker in Deadwood.
The badge had been only one chapter in the life that became the legend.
Wyatt Earp
Wyatt Earp’s fame rests disproportionately on roughly thirty seconds near the O.K. Corral.
Before Tombstone, he had worked intermittently as a constable, policeman, and deputy marshal. In Arizona, his authority shifted among local and federal appointments while his brother Virgil served as city marshal and deputy U.S. marshal.
The 1881 gunfight involving Wyatt, Virgil, Morgan Earp, and Doc Holliday was not immediately understood as a clean victory of law over lawlessness. The Earps were criticized as well as praised, and the subsequent killings and retaliatory ride deepened the controversy.
Films later reduced the conflict to an orderly line between good men and bad ones. Tombstone’s residents had no such luxury. To them, it was an unresolved argument over politics, power, violence, and whose version of the law would prevail.
Bat Masterson
Bat Masterson held the badge almost by accident of arithmetic. He reached Dodge City after working as a buffalo hunter and army scout. In 1877, Sheriff Charles Bassett appointed him undersheriff of Ford County. That November, Masterson won election as sheriff by only three votes. His brother Ed served as Dodge City’s town marshal at the same time and was killed in the line of duty only months into the job.
Masterson’s later chapter surprised even his contemporaries. He eventually moved to New York City, where he worked as a saloonkeeper and gambler before settling into a long career as a newspaperman, closing out his life as a sportswriter rather than a gunfighter.
Pat Garrett
Pat Garrett carried both a county badge and a federal commission into the most famous manhunt of the era.
Elected sheriff of Lincoln County in November 1880, Garrett was appointed deputy sheriff for the remainder of his predecessor’s term so that he could begin pursuing Billy the Kid immediately. He also received a deputy U.S. marshal’s commission, giving him authority to execute federal warrants as well as county process. Garrett and Billy had moved in some of the same circles around Fort Sumner, although later stories probably exaggerated the closeness of their friendship.
Legend credited Billy with twenty-one killings, one for every year of his life. But only about four can be firmly attributed to him, with several others remaining disputed. Garrett’s dual commission, one county badge and one federal, was exactly the kind of overlapping authority that let a single lawman chase a fugitive the length of a territory.
Frequently Asked Questions About Law and Order in the Old West
What was the difference between a sheriff and a marshal in the Old West?
A sheriff was ordinarily an elected county officer. A town marshal enforced local ordinances within a municipality, while a U.S. marshal was a federally appointed officer responsible for a federal judicial district. Their jurisdictions and responsibilities frequently overlapped.
Were Old West sheriffs elected?
Most county sheriffs were elected, although territorial laws sometimes permitted appointments, especially when a new county was organized or an office became vacant. Town marshals were more commonly appointed by a mayor or city council, though some were elected.
What did a U.S. marshal do in the Old West?
U.S. marshals and their deputies executed federal warrants, transported prisoners, protected federal courts, served legal process, and pursued people accused of federal crimes. Earlier marshals also conducted the census and distributed presidential proclamations.
Did Old West lawmen receive salaries?
Some did, but compensation varied. Many sheriffs and deputy marshals relied partly or entirely on statutory fees for serving papers, making arrests, transporting prisoners, and completing other official tasks. Rewards could supplement their income.
Could a sheriff arrest someone outside his county?
A sheriff’s ordinary authority ended at the county line. He could cooperate with another sheriff, pursue someone under certain legal circumstances, or receive a separate federal commission, but his county badge did not automatically provide nationwide authority.
Were Pinkerton detectives law-enforcement officers?
No. Pinkerton agents were private employees working for railroads, express companies, mines, banks, industrial employers, and other clients. They could investigate crimes and help locate suspects, but arrests generally required legal authority or cooperation from public officers.
Who was the most successful lawman in the Old West?
There is no objective answer, but Bass Reeves is among the strongest candidates. During a thirty-two-year federal career, he was credited with thousands of arrests while working across the dangerous and geographically enormous Indian Territory.
A System Built on Overlap
None of these systems operated in isolation, and none worked especially well by modern standards.
A county sheriff answered to voters and county officials. A town marshal answered to a mayor or city council. A U.S. marshal held a federal appointment that often changed with presidential politics. A Pinkerton detective answered to the railroad, express company, mine owner, bank, or other private client paying for the investigation.
Constables, tribal police, rangers, soldiers, posses, and vigilantes added still more layers.
The result was not one coherent system of Western law. It was several forms of authority laid across the same enormous landscape. Jurisdiction could overlap, disappear at a county line, or depend upon the wording of a particular warrant. Cooperation was often necessary, but hardly guaranteed.
The badge mattered. But what it permitted a man to do, and who would honor it when he arrived, depended very much on which badge he wore.
And the badge itself offered no assurance that the man behind it was brave, competent, honest, or even on the right side of the law. —☆
Ride Way Out West
Get stories of the American West, cowboy culture, and the traditions that still shape life on the range.




