User: When was the first transistor invented?
Assistant: The first transistor was invented in 1947 by John Bardeen, Walter Brattain, and William Shockley. The transistor was the first solid-state device that could amplify and switch electrical signals.