ally with vs form an alliance with

ally with

form an alliance with

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