Spanish writer Enrique Gaspar is the literary inventor of the time machine. He wrote El Anacronópete (“Flies backward through time”) in 1887, eight years earlier than HG Well’s The Time Machine.