egoist (n.)
1763, in metaphysics, "one who maintains there is no evidence of the existence of anything but the self" (taking ego in a sense of "thinking subject"), from French égoiste (1755); see ego + -ist. Meaning "selfish person" is from 1879. Related: Egoistic; egoistical.