was/were + -ing · while/when · stative
The past continuous describes an action that was in progress at a specific moment in the past, or that was the background to another event.