When was the motion picture invented?

It was invented in 1876.