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

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