Which sentence is correct?
I had been waiting here for two hours until you finally arrived.
I was waiting here for two hours until you finally arrived.
Which one is correct?
How does one know whether to use past perfect continuous or past continuous?