<human>:  When was the first CPU invented?
<bot>: The first CPU was the ENIAC, invented by John Mauchly and John Presper Eckert in 1946. It was the first electronic computer to be built, and was used to help calculate the trajectories for the first nuclear weapons.