hat in the ring vs matters of state

hat in the ring

matters of state

How often have the words hat in the ring and matters of state occurred in a corpus of books? (source: Google Ngram Viewer )