ally with vs form a federation with

ally with

form a federation with

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