Dictionary.com
Thesaurus.com
had been occupying
  • past perfect progressive of occupy.