Gunfighter between bandits and lawmen. Lawless violence such as range wars like the Lincoln County War and clashes with Indians were also a cause. Some of these shootouts became famous, while others faded into history with only a few accounts surviving. To prevent gunfights from happening, many cities in the American frontier, such as Dodge City and Tombstone, put up a local ordinance to prohibit firearms in the area. The Gunfight at the OK Corral is a famous example of a real-life western shootout, between the Earp Brothers together with Doc Holliday, and the Clanton-McLaury gang. It lasted only 30 seconds,
Gunfight at the O.K. Corral open range for outlaws, largely unopposed by law enforcement officers who were spread thin over vast territories. The gunfight was not well known to the American public until 1931, when Stuart Lake published the initially well-received biography "" two years after Earp's death. The book was the basis for the 1946 film "My Darling Clementine", directed by John Ford, and the 1957 film "Gunfight at the O.K. Corral", after which the shootout became known by that name. Since then, the conflict has been portrayed with varying degrees of accuracy in numerous Western films and books, and has become an archetype