ally (oneself) with vs give one's backing to

ally (oneself) with

give one's backing to

How often have the words ally (oneself) with and give one's backing to occurred in a corpus of books? (source: Google Ngram Viewer )