The use of the past continuous to talk about a longer action interrupted by another action in the past simple.