Answer
Wyatt Earp worked as an assistant city marshal in Dodge City, Kansas, before moving to Tombstone with his brothers James and Virgil. Dodge City was a booming town during the late 1870s, and Earp's experience in law enforcement there helped shape his reputation as a lawman.