How was ephedrine discovered?

Can you answer this question?