“As he spent 2008 campaigning for his new job, he also earned nearly $2.5 million in royalties from the sale of his books. And he added $250,000 more just before taking office, signing a Jan. 15 licensing deal with his publisher for an abridged version of Dreams From My Father.