Take a stab

Does anyone know the origin of the phrase "I'll take a stab at it."?

I can guess, but it would just be a guess. Anyway, "take a stab," "make a stab," and "have a stab" all mean the same thing, and have done so since no later than 1895 (OED). SS