Choose the pluperfect conjugation of the verb that corresponds to the subject of the sentence.

Tú _______ (llegar) a casa antes de la media noche.

había llegado
habías llegado
habíamos llegado
habían llegado