Wyatt Earp was in law enforcement.
Wyatt Berry Stapp Earp ( March 19 , 1848 -- January 13 , 1929 ) was an American Old West gambler , a deputy sheriff in Pima County , and deputy town marshal in Tombstone , Arizona Territory , who took part in the gunfight at the O.K. Corral , during which lawmen killed three outlaw cowboys . He was at different times a constable , city policeman , county sheriff , Deputy U.S. Marshal , teamster , buffalo hunter , bouncer , saloon-keeper , gambler , brothel keeper , miner , and boxing referee .