Choose the correct form of the verb in one of past tenses:
Kate was annoyed with me because I was late and she _______________ for a long time.
had been waiting
had waited
was waiting
waited