The character Han Solo dressed like an archetypal gunslinger, and the Mos Eisley Cantina is much like an old west saloon.
Daniel Craig plays Jake Lonergan, a gunslinger in 1875 Arizona who wakes up in the desert with a mysterious shackle around his wrist and his memory wiped clean.