Select the option that has used the correct tense.
1
By the time we arrive at the party, they had been waiting for over an hour.
2
By the time we arrived at the party, they had been waiting for over an hour.
3
By the time we arrives at the party, they had been waiting for over an hour.
4
By the time we arriving at the party, they had been waiting for over an hour.