After Worf jailed Eli while playing the sheriff of Deadwood, Frank kidnapped Alexander. He offered to release him in exchange for Eli. Due to a malfunction, Data assumed the identity of the holo-characters, and the holodeck safety protocol was shut down, leaving Worf and Alexander in real danger. During the exchange of prisoners, Worf beat Frank in a gunfight, ending the program. (TNG: "A Fistful of Datas")