ally (oneself) with vs come to the defense of

ally (oneself) with

come to the defense of

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