A chess-playing computer had been suggested as early as 1864, and the first machine able to carry out a "program" was invented in Spain in 1914 by the engineer Leonardo Torres-Quevedo and called Ajedrecista http://en.wikipedia.org/wiki/El_Ajedrecista