The most famous western gunfight happened at the O.K. Corral in Tombstone, Arizona.

The fight lasted 30 seconds between a posse of Lawmen involving Wyatt Earp and a group of outlaws. Three men died from gunshot wounds.

Source