<human>:  When was the first transistor invented?
<bot>: The first transistor was invented in 1947 by John Bardeen, Walter Brattain, and William Shockley. They were working at Bell Labs, and they were trying to build a device that could amplify signals. They were able to build a transistor that could amplify a signal, but they were not able to make it switch on and off.