What is the past perfect continuous?

The past perfect continuous is a verb form used to refer to an action that began in the past and continued up until another time in the past.

The past perfect continuous is formed using the auxiliary verbs “had” and “been,” along with the present participle of the main verb (e.g., “I had been working”).

The past perfect continuous is one of four past tense verb forms, along with the simple past, past progressive, and past perfect tense.