Dictionary.com
Thesaurus.com

had been castigating

  • past perfect progressive
    of castigate.
    castigate
    verb (used with object)
    to criticize or reprimand severely.