In 1963, Johnny Rivers began working with song writers P.F. Sloan and Steve Barri to create a theme song for the American TV broadcast of "Secret Agent" (the British television series "Danger Man"), starring Patrick McGoohan. At first Rivers balked at the idea but eventually changed his mind. The American version of the show went on the air in the spring of 1965.

The theme song was very popular and created public demand for a longer single version. Accordingly, Rivers' recording of "Secret Agent Man" reached #3 on the Billboard Hot 100 chart in 1966. It sold over one million copies, also winning gold disc status.

More Info: en.wikipedia.org