Dictionary.com
Thesaurus.com

had been legitimating

  • past perfect progressive
    of legitimate.
    legitimate
    adjective
    according to law; lawful.