masochist (n.)
1895, from masochism + -ist.