The Autobots and the Decepticons fought each other for centuries before they came to Earth. Now the upcoming Transformers novel Retribution, by David J. Williams and Mark S. Williams, aims to reveal what happened when the Transformers fled Cybertron to head here.

http://io9.com/read-an-exclusive-preview-of-the-new-transformers-novel-612265053