duly vs righteously

duly

adv
  • In a due, fit, or becoming manner; as it ought to be; properly. 

  • Regularly; at the proper time. 

righteously

adv
  • In a righteous manner. 

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