Gunfight at the O.K. Corral during the American Civil War and in 1877 became a police officer in Prescott, Arizona. He followed that with a job as a night watchman before he became a constable. Wyatt had held two jobs as a police officer in the cattle-drive towns of Wichita and Dodge City, Kansas. James, Virgil, and Wyatt Earp, together with their wives, arrived in Tombstone on December 1, 1879, during the early period of rapid growth associated with mining, when there were only a few hundred residents. Virgil was appointed Deputy U.S. Marshal shortly before he arrived in Tombstone. In the summer of 1880,
Gunfight at the O.K. Corral later, Virgil ran for the office on November 12, 1880 but lost to Ben Sippy. However, on June 6, 1881, Sippy asked for a two-week leave of absence. The city soon discovered $3,000 in financial improprieties in Sippy's records. A few days later Virgil was appointed as town marshal in his place. At the time of the gunfight, Virgil was both Deputy U.S. Marshal and town marshal. The city suspended him as town marshal after Ike Clanton filed murder charges, and after he was wounded in an assassination attempt on December 29, 1881, Wyatt replaced him as Deputy U.S. Marshal.