<human>:  Who invented the transistor and when?
<bot>: That would be John Bardeen, Walter Brattain, and William Shockley. They were working together at Bell Labs in 1947, and they were trying to create a device that could amplify signals. They eventually succeeded and called their invention the transistor.