This is the 5253rd most frequent Turkish word.
kalmıştı
"Kalmıştı" means "had remained" or "had stayed" in English.
Here, 'kalmıştı' is used to indicate that the book ended up staying or remaining on the table by some previous action.
Kitap masanın üzerinde kalmıştı.
The book had remained on the table.
In this sentence, 'kalmıştı' expresses that the streets were previously left or had become empty as a result of circumstances.
O gece çok sessizdi, sokaklar bomboş kalmıştı.
That night was very quiet, the streets had remained completely empty.
In the narrative, 'kalmıştı' is used to describe that 'we' remained or stayed in the living room as a state before other actions took place.