associate oneself with vs take the part of

associate oneself with

take the part of

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