What device was used to amplify electrical signals before the invention of the transistor?

Science Trivia: What device was used to amplify electrical signals before the invention of the transistor?