ally (oneself) with vs take someone's part

ally (oneself) with

take someone's part

verb
  • to show support for or defend the actions of someone in the course of a debate, argument, etc. 

How often have the words ally (oneself) with and take someone's part occurred in a corpus of books? (source: Google Ngram Viewer )