A verb:

The figurative meaning, "a person who panders to an undesirable or immoral impulse," was found by the middle of the 17th century.