Before Wyatt Earp became a permanent fixture in cowboy lore, he was a real police officer and deputy sheriff at…