According to the never inaccurate Wikipedia, it was used “...as a remedy for such widely varied complaints as tuberculosis, constipation, toothache, parasitic infestations, and the pains of childbirth.”