Back to the Future Part III

Back to the Future Part III is a 1990 American science fiction Western movie directed by Robert Zemeckis. It is the third and final movie for the "Back to the Future trilogy". It stars Michael J. Fox, Christopher Lloyd, Mary Steenburgen, Thomas F. Wilson, Crispin Glover and Lea Thompson.
Plot.
A lightning bolt sends 1985 Doc and the time machine from 1955 back to 1885. Marty finds the time machine where Doc hid it. He soon finds out that the Doc is shot by Buford 'Mad Dog' Tannen and goes back to 1885 to save Doc.