User: Where was the first computer invented?
Assistant: The first computer was a mechanical calculator built in 1822 by Charles Babbage. The calculator could perform simple arithmetic operations and could solve polynomial equations. However, the calculator was too large to be practical, so it never really caught on.