Rule reminder
'Mentre' (while) is followed by the imperfetto to describe two simultaneous ongoing actions, or the background action when a specific event occurred.
Mentre loro ___, abbiamo sentito un rumore strano. (dormire)
More in this section