The pianola became popular in the late 19th and early 20th century as mass-produced pianos became popular in people's homes and more and more people bought sheet music. By the 1920s it started to become less popular again as the gramophone had been invented.