The Wild Wild West, on CBS
IMDb; TV.com; TV Tango; TV Tropes; Wikipedia
This aired for four seasons, from 1965 to 1969. I saw some reruns on TNT for awhile (sometime in the mid-to-late 90s, I think), like Saturday mornings or something, but then that stopped. In any event, the main characters were James West and Artemus Gordon, who were agents of the U.S. Secret Service back in the Old West. And they traveled around and had various adventures. They had some gadgets and whatnot. They had some recurring enemies, the best of whom was Miguelito Loveless (played by Michael Dunn, whom I remember best from an episode of Star Trek). It was really a fun, cool, funny series, and someday I'd like to see more of it (and write a better review). Anyway, in 1979 and 1980, there were a couple of TV movies, The Wild Wild West Revisited and More Wild Wild West.
In 1999, there was a theatrical movie, "Wild Wild West," starring Will Smith as Jim West. Someday I'll have to rewatch that movie and write a review.