When was the first Xerox machine invented?

The xerographic process was first successfully demonstrated by Chester A. Carlson in New York City in 1938.

After some 20 years of development work, the first fully automated plain paper copier was offered for sale by the Haloid-Xerox Company of Rochester, NY, (later the Xerox Corporation) in 1959. During the early-mid 1950s some semi-manual applications of the xerographic process were also sold by Haloid-Xerox.