What inspired Langston Hughes to write poetry?

his grandmother and in the poem Dreams the civil rights movement partly inspired. His grandmother played a semi-big role in the civil rights movement for African Americans.