ally (oneself) with vs sympathize with

ally (oneself) with

sympathize with

How often have the words ally (oneself) with and sympathize with occurred in a corpus of books? (source: Google Ngram Viewer )