hang one's hat in vs have established oneself in

hang one's hat in

have established oneself in

How often have the words hang one's hat in and have established oneself in occurred in a corpus of books? (source: Google Ngram Viewer )