The Past Perfect Continuous Tense
The past perfect continuous tense is similar in use to the past perfect tense. It emphasizes the uninterrupted nature of the action.
Examples:
The telephone had been ringing for five minutes before it was answered. ○ They told me you had been living in Moscow before the war.