ally oneself with vs vote for

ally oneself with

vote for

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