The poem was written in reaction to an October 1901 White House dinner hosted by Republican President Theodore Roosevelt , who had invited Booker T. Washington , an African-American presidential adviser , as a guest .
Washington had been invited by President Theodore Roosevelt , who was Caucasian .