Gunfight at the O.K. Corral to town, and shootings were frequent. In the 1880s, illegal smuggling and theft of cattle, alcohol, and tobacco across the Mexico–United States border, about from Tombstone, were common. The Mexican government assessed heavy export taxes on these items, and smugglers earned a handsome profit by stealing them in Mexico and selling them across the border. James, Virgil, and Wyatt Earp arrived in Tombstone on December 1, 1879, when the small town was mostly composed of tents as living quarters, a few saloons and other buildings, and the mines. Virgil had been hired as Deputy U.S. Marshal for eastern Pima County,
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.