Gunfight at the O.K. Corral the law in their favor when it affected their gambling and saloon interests, which earned them further enmity with the Cowboy faction. To reduce crime in Tombstone, on April 19, 1881, the city council passed ordinance 9, requiring anyone carrying a bowie knife, dirk, pistol or rifle to deposit their weapons at a livery or saloon soon after entering town. The ordinance was the legal basis for City Marshal Virgil Earp's decision to confront the Cowboys on the day of the shootout. In the borderlands south of Tombstone there was only one passable route between Arizona and Mexico, a passage
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.