seek the favor of vs try to get someone on one's side

seek the favor of

try to get someone on one's side

How often have the words seek the favor of and try to get someone on one's side occurred in a corpus of books? (source: Google Ngram Viewer )