Who influenced Nietzsche?

I know that he was influenced by the philosopher Schopenhauer and the composer Wagner but who else would you say influenced his thought as a philosopher?
Answers

William

Friedrich Albert Lange’s History of Materialism was a deep influence, his professor Friedrich Ritschl, and Goethe.

Dances with Weed

I did