end to vs solution to

end to

solution to

How often have the words end to and solution to occurred in a corpus of books? (source: Google Ngram Viewer )