In the French military, lanyards were used to connect a pistol, sword, or whistle (for signaling) to a uniform semi-permanently. Lanyards were used by mounted cavalry on land and naval officers at sea. A pistol lanyard can be easily removed and reattached by the user, but will stay connected to the pistol whether it is drawn or in a holster. In the 1966 Spaghetti Western "The Good, The Bad, and The Ugly", one of the main characters, Tuco Ramirez, carries his pistol on a rope cord lanyard. Eli Wallach, the actor who played the part of Tuco, reportedly told director Sergio Leone that it was too difficult to put a pistol into a holster without looking, so Leone put Wallach's pistol on a lanyard.