there was, there were, had
¿Había mucha gente en la biblioteca?
Were there a lot of people in the library?
Were there stars in the sky?
¿Había estado triste su marido últimamente?
Had her husband been sad lately?
— Pacto de sangre (1944)
¿Había estado bebiendo antes de que llegara usted?
Had he been drinking before you arrived?
— Anatomía de una Caída (2023)