See for example:


The Atanasoff–Berry Computer (1937-1942), Z3 Zuse (1941), Colossus (1943-1945) and Eniac (1945).