charley horse (n.)
1887, sporting slang, origin obscure, probably from somebody's long-forgotten lame racehorse. Charley horse seems to have been a name for a horse or a type of horse (perhaps especially a lame one) around that time.