Code Young went to outlawry in the mid-1890s, joining up with the High Fives Gang that roamed the Southwest. The former cowboy was involved in a couple of robberies before an attempted New Mexico train stickup on October 1896.
Things were going well—until Deputy US Marshal Will Loomis, a passenger, got involved. Ironically, Loomis had been tracking the gang for a couple of months. He spotted Young and opened up with a shotgun. The other bandits fled, calling out to Young to join them. But he was already dead.
https://truewestmagazine.com/fairbank-train-robbery/