midst vs within

midst

prep
  • Among, in the middle of; amid. 

noun
  • A place in the middle of something; may be used of a literal or metaphorical location. 

within

prep
  • In the inner part, spatially; physically inside. 

  • Before the specified duration ends. 

  • In the scope or range of. 

adj
  • In the context of which the present document or ruling is made. 

adv
  • In or into the interior; inside. 

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