human
When was the first computer invented?
assistant
That would be the Analytical Engine, invented by Charles Babbage in 1837. The Analytical Engine was a mechanical computer that could compute mathematical functions and perform logical operations. It was the first computer to use punched cards and the first computer to use the concept of the algorithm.