The document traces the evolution of the computer keyboard from its origins in the typewriter. It describes how Christopher Scholes patented the first typewriter in 1868, which had keys arranged in two rows. Over subsequent years and prototypes, Scholes and others worked to improve the layout, resulting in a four-row keyboard in 1872 that was close to the modern layout. This four-row design went into mass production in 1873 as the Remington No. 1 typewriter. The QWERTY keyboard layout was established by 1878. As computers developed through the 20th century, keyboards added additional keys and became separate input devices, resulting in the extended 101-key keyboard used today.