as was vs erstwhile

as was

prep
  • As it was; in a former state or condition. 

erstwhile

adj
  • Former, previous. 

  • Respected, honourable. 

How often have the words as was and erstwhile occurred in a corpus of books? (source: Google Ngram Viewer )