Origin of "red-headed stepchild"

What an awful saying. Well, I’m a redhead and every redhead I know (including myself) has a temper, but the step-child deal I’m not sure about.