Barry Allen was the first Flash.
History[]
Prior to Justice League[]
Barry Allen gained superpowers from a lightning strike in his lab.
Justice League[]
Barry went back to save his mother rom being murdered, creating Flashpoint. He had to go back and stop himself to prevent this.
After his death, Wally West became the Flash.