ally oneself with vs side with

ally oneself with

side with

verb
  • To choose to take the same point of view as (someone). 

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