Wyatt was the brother of Virgil and Morgan Earp. He was most famous for his participation in the gunfight at the OK Corral in Tombstone, Arizona on October 26, 1881. In the battle of the OK Corral, the Earps, along with Doc Holliday, confronted Ike and Billy Clanton, Frank and Tom McLowery, and William Claiborne, leading to the most famous gunfight in the history of the Wild West.
In 2268, the Melkot created a replica of Wyatt Earp as part of a bizarre, inaccurate depiction of the events leading to the gunfight. This illusion was intended to lead to the execution of Captain James T. Kirk and his landing party, who were placed in the roles of the Clantons, the McLaurys, and Claiborne – three of whom were killed in the gunfight. Kirk and crew were able to outsmart their would-be killers, and Kirk's non-violent resolution persuaded the Melkot to open diplomatic relations with the Federation. (TOS: "Spectre of the Gun")