for the purpose of vs thanks to

for the purpose of

thanks to

prep
  • Because of; normally used with a positive connotation, though it can be used sarcastically. 

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