It's difficult to pinpoint the exact year as different dictionaries adopt new words at varying times. However, sources like the Oxford English Dictionary trace the word back to the 1880s, and it was included in dictionaries like Webster's by the early 1900s.
It's important to note that while it wasn't officially recognized until then, the word was likely used in colloquial speech and informal writing long before that.