What year was the first transistor invented?

What year was the first transistor invented?