What does the word sidekick come from?

; sidekick : "companion or close associate," 1906, shortened from side-kicker (1903, in an O.Henry story), Amer.Eng., of unknown origin. Earlier terms were side-pal (1886), side-partner (1890). See the Related Link below.