<human>:  Who invented the first computer?
<bot>: The first computer was invented by Charles Babbage in 1822. Babbage was a mathematician and inventor who worked for the British government. He designed a mechanical computer called the Analytical Engine, which was never built.