The correct answer is it was invented in 1898.
The first voting machine was invented in the year 1869 by an inventor named Thomas Edison sadly his device was never used. The second inventor Jacob H. Myers who created a similar machine, which became the first mechanical voting device ever used in a U.S. election in the year 1892.