Dictionary.com
Thesaurus.com

had been legislating

  • past perfect progressive
    of legislate.
    legislate
    verb (used without object)
    to exercise the function of legislation; make or enact laws.