Marty McFly is a fictional character and the protagonist of the Back to the Future franchise. He is a high school student living in the fictional town of Hill Valley, California, who accidentally becomes a time traveler and alters history after his scientist friend Emmett Brown invents a DeLorean time machine.