McCain collected $174,000 annually as a senator, but his charitable contributions outweighed his salary. Nearly $9 million in unused donations from his 2008 presidential bid was transferred to charity.

The majority of the contributions went to educational foundations such as Arizona State University Foundation and the family’s McCain Institute Foundation.

Source: John McCain donated millions to charity through books, campaign