Einstein's general theory of relativity... was needed not because of conspicuous failures of Newton's theory... but because of inconsistencies between it and the requirements of electromagnetic theory, which Einstein had revised earlier in his special theory of relativity.
Peter G. Bergmann, The Riddle of Gravitation: From Newton to Einstein to Today's Exciting Theories (1968) p. 6.