James Gallagher was a character in the holographic simulation Ancient West.
A wanted poster hanging up in the sheriff's office in Deadwood stated there was a $1,000 reward for this robber and murderer. (TNG: "A Fistful of Datas")
This character was only mentioned in writing.