The word came from a slang way to say "negro". That is the word for the color black and for black people in Spanish and Portuguese. Before 1865, most black people in the United States were slaves. During that time, the word "nigger" commonly meant a slave. Writers such as Joseph Conrad, Mark Twain, and Charles Dickens often used the word in their stories and their other writing.