Which is the tense of the underlined verb?

The cat was sitting on the gate when the workers came to put up the new fence.

A.
present perfect progressive

B.
present progressive

C.
past progressive

D.
past perfect progressive